优化
This commit is contained in:
@ -12,9 +12,9 @@ spring:
|
||||
# 主库数据源
|
||||
master:
|
||||
driverClassName: com.mysql.cj.jdbc.Driver
|
||||
url: jdbc:mysql://localhost:3306/work_platform?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true
|
||||
username: work_platform
|
||||
password: work_platform
|
||||
url: jdbc:mysql://localhost:3386/lhyg?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true
|
||||
username: root2
|
||||
password: CQyj20200808!
|
||||
# 从库数据源
|
||||
# slave:
|
||||
# driverClassName: com.mysql.cj.jdbc.Driver
|
||||
@ -72,7 +72,7 @@ spring:
|
||||
# 数据库索引
|
||||
database: 15
|
||||
# 密码
|
||||
password: 123456
|
||||
# password: 123456
|
||||
# 连接超时时间
|
||||
timeout: 10s
|
||||
# 是否开启ssl
|
||||
|
@ -68,7 +68,7 @@ spring:
|
||||
messages:
|
||||
# 国际化资源文件路径
|
||||
basename: i18n/messages
|
||||
# dev 开发环境 pord 正式环境
|
||||
# dev 开发环境 prod 正式环境
|
||||
profiles:
|
||||
active: dev
|
||||
# 文件上传
|
||||
|
Reference in New Issue
Block a user