ソースを参照

多数据源配置参考

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