This commit is contained in:
2025-03-11 09:27:43 +08:00
parent 8a6a812617
commit 1261d872aa
11 changed files with 84 additions and 46 deletions

View File

@ -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

View File

@ -68,7 +68,7 @@ spring:
messages:
# 国际化资源文件路径
basename: i18n/messages
# dev 开发环境 pord 正式环境
# dev 开发环境 prod 正式环境
profiles:
active: dev
# 文件上传