Refactor project structure and update Maven configuration for CRM service

This commit is contained in:
bigtian 2025-06-26 17:04:34 +08:00
parent 530c2073a8
commit d2d1a8f7d1
2 changed files with 3 additions and 7 deletions

View File

@ -20,9 +20,8 @@
<dependencies>
<dependency>
<groupId>org.springframework.ai</groupId>
<artifactId>spring-ai-starter-mcp-server-webflux</artifactId>
<artifactId>spring-ai-starter-mcp-server-webmvc</artifactId>
</dependency>
<dependency>
<groupId>com.alibaba.fastjson2</groupId>
<artifactId>fastjson2</artifactId>

View File

@ -3,12 +3,9 @@ crm:
tenantId: BIO
token: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJJUXdrczhuUWc4NnJPQkpuenJDUThtbjl1N3FEQ2lWZyJ9.91GO7OMhVbc0tLBRZ7HYiFDEA92PXE7H1gHduwxWu2I
spring:
main:
banner-mode: off
webflux:
base-path: /crm-mcp # WebFlux 的路径前缀
ai:
mcp:
server:
@ -16,9 +13,9 @@ spring:
version: 0.0.1
type: ASYNC # Recommended for reactive applications
# 配置 sse 的根路径,默认值为 /sse
# 下面的最终路径为 ip:port/sse/crm-mcp
# 下面的最终路径为 ip:port/sse/mcp
sse-endpoint: /sse
sse-message-endpoint: /crm-mcp/mcp
sse-message-endpoint: /mcp
capabilities:
tool: true
resource: true