feat(多数据源): 支持多数据源动态切换

This commit is contained in:
zhuangpeng.li
2025-04-22 10:20:02 +08:00
parent ff51ea78af
commit 39aba490c6
16 changed files with 445 additions and 376 deletions

View File

@@ -55,6 +55,20 @@ spring:
max-size: 200 # 最大连接数
queue-capacity: 3000 # 最大容量
keep-alive: 60
datasource:
druid:
webStatFilter:
enabled: true
stat-view-servlet:
enabled: true
allow:
url-pattern: /druid/*
loginUsername: fastbee
loginPassword: fastbee
dynamic:
primary: master
strict: false
lazy: true
#集群配置
cluster: