使用spring-ai-alibaba重构项目

This commit is contained in:
2025-11-24 13:37:37 +08:00
parent 5fb4ed754c
commit 80dcb23bbc
21 changed files with 514 additions and 450 deletions

View File

@@ -37,6 +37,7 @@ spring:
min-idle: 0
max-wait: -1ms
# TODO: 考虑删除已注释的配置
# ai:
# openai:
# api-key: sk-faaa2a1b485442ccbf115ff1271a3480
@@ -44,6 +45,14 @@ spring:
# chat:
# options:
# model: deepseek-chat
logging:
level:
org:
springframework:
ai:
chat:
client:
advisor: debug
mybatis-plus:
configuration:
map-underscore-to-camel-case: true
@@ -52,4 +61,4 @@ mybatis-plus:
db-config:
logic-delete-field: deleted # 全局逻辑删除字段名
logic-delete-value: 1 # 逻辑已删除值。可选,默认值为 1
logic-not-delete-value: 0 # 逻辑未删除值。可选,默认值为 0
logic-not-delete-value: 0 # 逻辑未删除值。可选,默认值为 0