Refactor project structure and update Maven configuration for CRM service
This commit is contained in:
parent
530c2073a8
commit
d2d1a8f7d1
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user