浏览代码

多数据源配置参考

yucheng 4 年之前
父节点
当前提交
37e7e39ffe
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      fm-person/src/main/resources/bootstrap.yml

+ 2 - 0
fm-person/src/main/resources/bootstrap.yml

@@ -16,6 +16,8 @@ spring:
         sessionStatMaxCount: 1000
         profileEnable: true
     dynamic:
+      primary: fm-person
+      strict: false
       druid: #以下是支持的全局默认值
         initial-size: 5
         max-active: 20