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

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

@ -85,9 +85,9 @@ spring:
master: master:
type: com.alibaba.druid.pool.DruidDataSource type: com.alibaba.druid.pool.DruidDataSource
driverClassName: com.mysql.cj.jdbc.Driver 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 username: root
password: Root@123# password: Microdoft@2021
# 资源信息 # 资源信息
messages: messages:
# 国际化资源文件路径 # 国际化资源文件路径
@ -117,7 +117,7 @@ spring:
# 数据库索引 # 数据库索引
database: 0 database: 0
# 密码 # 密码
password: password: Microdoft@2021
# 连接超时时间 # 连接超时时间
timeout: 10s timeout: 10s
lettuce: lettuce:

Loading…
Cancel
Save