Pre Merge pull request !467 from zhanglufang/N/A

This commit is contained in:
zhanglufang 2022-05-01 12:24:24 +00:00 committed by Gitee
commit 99f1b1f6b0
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -6,9 +6,9 @@ spring:
druid:
# 主库数据源
master:
url: jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root
password: password
url: :jdbc:mysql://${DB_HOST:172.18.18.162}:3306/${DB_NAME:ruoyi}?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: ${DB_USER:ruoyi}
password: ${DB_PASSWD:ruoyi}
# 从库数据源
slave:
# 从数据源开关/默认关闭