소스 검색

多数据源配置参考

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