Browse Source

修改海拉环境

master
liuchen864 7 months ago
parent
commit
9a68cb877b
  1. 16
      win-admin/src/main/resources/application-prod.yml
  2. 6
      win-admin/src/main/resources/application-test.yml

16
win-admin/src/main/resources/application-prod.yml

@ -21,7 +21,7 @@ logging:
file:
path: logs
level:
com.win: warn
com.win: debug
org.springframework: warn
# 用户配置
@ -80,14 +80,14 @@ spring:
datasource:
dynamic:
strict: true
primary: master
datasource:
ccwin:
driver-class-name: com.mysql.cj.jdbc.Driver
master:
type: com.alibaba.druid.pool.DruidDataSource
url: jdbc:mysql://localhost:3306/ccwin?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: ccwin
driverClassName: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/qad?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root
password: Microdoft@2021
primary: ccwin
# 资源信息
messages:
# 国际化资源文件路径
@ -115,9 +115,9 @@ spring:
# 端口,默认为6379
port: 6379
# 数据库索引
database: 1
database: 0
# 密码
password:
password: Microdoft@2021
# 连接超时时间
timeout: 10s
lettuce:

6
win-admin/src/main/resources/application-test.yml

@ -85,9 +85,9 @@ spring:
master:
type: com.alibaba.druid.pool.DruidDataSource
driverClassName: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:22050/qad?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
url: jdbc:mysql://localhost:3306/qad?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root
password: Root@123#
password: Microdoft@2021
# 资源信息
messages:
# 国际化资源文件路径
@ -117,7 +117,7 @@ spring:
# 数据库索引
database: 0
# 密码
password:
password: Microdoft@2021
# 连接超时时间
timeout: 10s
lettuce:

Loading…
Cancel
Save