Explorar el Código

多数据源配置参考

yucheng hace 4 años
padre
commit
37e7e39ffe
Se han modificado 1 ficheros con 2 adiciones y 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