mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-11-04 04:08:43 +08:00 
			
		
		
		
	【代码新增】AI:开启 AI 租户的能力
This commit is contained in:
		@@ -70,12 +70,6 @@ spring:
 | 
			
		||||
      port: 6379 # 端口
 | 
			
		||||
      database: 0 # 数据库索引
 | 
			
		||||
#    password: dev # 密码,建议生产环境开启
 | 
			
		||||
server:
 | 
			
		||||
  servlet:
 | 
			
		||||
    encoding:
 | 
			
		||||
      enabled: true
 | 
			
		||||
      charset: UTF-8
 | 
			
		||||
      force: true
 | 
			
		||||
 | 
			
		||||
--- #################### 定时任务相关配置 ####################
 | 
			
		||||
 | 
			
		||||
@@ -226,8 +220,6 @@ yudao:
 | 
			
		||||
    enable: false
 | 
			
		||||
  demo: false # 关闭演示模式
 | 
			
		||||
  tencent-lbs-key: TVDBZ-TDILD-4ON4B-PFDZA-RNLKH-VVF6E # QQ 地图的密钥 https://lbs.qq.com/service/staticV2/staticGuide/staticDoc
 | 
			
		||||
  tenant:
 | 
			
		||||
    enable: false
 | 
			
		||||
 | 
			
		||||
justauth:
 | 
			
		||||
  enabled: true
 | 
			
		||||
 
 | 
			
		||||
@@ -34,6 +34,13 @@ spring:
 | 
			
		||||
    redis:
 | 
			
		||||
      time-to-live: 1h # 设置过期时间为 1 小时
 | 
			
		||||
 | 
			
		||||
server:
 | 
			
		||||
  servlet:
 | 
			
		||||
    encoding:
 | 
			
		||||
      enabled: true
 | 
			
		||||
      charset: UTF-8 # 必须设置 UTF-8,避免 WebFlux 流式返回(AI 场景)会乱码问题
 | 
			
		||||
      force: true
 | 
			
		||||
 | 
			
		||||
--- #################### 接口文档配置 ####################
 | 
			
		||||
 | 
			
		||||
springdoc:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user