Refactor project structure and update Maven configuration for CRM service

This commit is contained in:
bigtian 2025-06-26 16:22:00 +08:00
parent a5c50bcc3b
commit be63888a3b
3 changed files with 4 additions and 1 deletions

View File

@ -30,6 +30,7 @@ import org.springframework.context.annotation.ComponentScan;
@SpringBootApplication
@EnableConfigurationProperties(CrmProperties.class)
@ComponentScan(basePackages = "net.rzdata.mcp.server.crm")
public class McpServerApplication {
@Autowired
private CrmProperties crmProperties;

View File

@ -1,4 +1,4 @@
package net.rzdata.mcp.server.crm;
package net.rzdata.mcp.server.crm.controller;
import org.springframework.web.bind.annotation.GetMapping;

View File

@ -9,6 +9,8 @@ server:
spring:
main:
banner-mode: off
webflux:
base-path: /crm-mcp # WebFlux 的路径前缀
ai:
mcp:
server: