Explorar o código

多数据源配置参考

yucheng %!s(int64=4) %!d(string=hai) anos
pai
achega
37e7e39ffe
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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