update 重构 将系统内置配置放置到common包内独立加载 不允许用户随意修改

This commit is contained in:
疯狂的狮子Li
2023-06-15 13:26:54 +08:00
parent 3284b8707a
commit 8d675b0c21
17 changed files with 191 additions and 97 deletions

View File

@@ -30,7 +30,7 @@ spring:
# 性能分析插件(有性能损耗 不建议生产环境使用)
p6spy: true
# 开启seata代理开启后默认每个数据源都代理如果某个不需要代理可单独关闭
seata: true
seata: ${seata.enabled}
# 严格模式 匹配不到数据源则报错
strict: true
hikari:
@@ -50,8 +50,3 @@ spring:
connectionTestQuery: SELECT 1
# 多久检查一次连接的活性
keepaliveTime: 30000
# seata配置
seata:
# 关闭自动代理
enable-auto-data-source-proxy: false