feat(config): 更新多环境配置并添加AI模块支持

- 修改默认激活环境为glt2
- 在application.yml中启用SqlRunner功能以支持动态SQL执行
- 新增AI模块Ollama配置,包括基础URL、模型设置和RAG参数
- 删除废弃的application-cms.yml和application-yd.yml配置文件
- 更新开发环境数据库连接配置至新服务器地址
- 为glt环境添加业务模块接口URL配置
- 新增glt2环境配置文件,包含完整的开发环境设置
This commit is contained in:
2026-03-27 00:28:42 +08:00
parent 7982b8f963
commit 82f41d7153
731 changed files with 1521 additions and 68929 deletions

View File

@@ -4,7 +4,7 @@ server:
# 多环境配置
spring:
profiles:
active: dev
active: glt2
application:
name: server
@@ -82,7 +82,10 @@ mybatis-plus:
map-underscore-to-camel-case: true
cache-enabled: true
global-config:
:banner: false
banner: false
# SqlRunner.db().xxx 需要开启该开关,否则会报:
# Mapped Statements collection does not contain value for com.baomidou.mybatisplus.core.mapper.SqlRunner.Delete
enable-sql-runner: true
db-config:
id-type: auto
logic-delete-value: 1
@@ -198,6 +201,22 @@ springdoc:
swagger-ui:
enabled: true
# AI 模块Ollama
ai:
ollama:
base-url: https://ai-api.websoft.top
fallback-url: http://47.119.165.234:11434
chat-model: qwen3.5:cloud
embed-model: qwen3-embedding:4b
connect-timeout-ms: 10000
read-timeout-ms: 300000
write-timeout-ms: 60000
max-concurrency: 4
rag-max-candidates: 2000
rag-top-k: 5
rag-chunk-size: 800
rag-chunk-overlap: 120
# LED - 排班接口(业务中台)对接配置
led:
bme: