针对部署修改特定配置文件,区分运行环境

This commit is contained in:
2026-06-25 12:10:46 +08:00
parent 4105b901f1
commit 15f3e25acc
24 changed files with 4746 additions and 3703 deletions
@@ -37,25 +37,6 @@ spring:
max-request-size: 100MB
enabled: true
data:
redis:
database: 0
host: 127.0.0.1
port: 6379
password: # 密码(默认为空)
timeout: 6000ms # 连接超时时长(毫秒)
lettuce:
pool:
max-active: 1000 # 连接池最大连接数(使用负值表示没有限制)
max-wait: -1ms # 连接池最大阻塞等待时间(使用负值表示没有限制)
max-idle: 10 # 连接池中的最大空闲连接
min-idle: 5 # 连接池中的最小空闲连接
# 是否开启redis缓存 true开启 false关闭
project-options:
redis:
open: true
#mybatis
mybatis-plus:
mapper-locations: classpath*:/mapper/**/*.xml