From 9a68cb877bb5830c07a5d01c0afc7f42cbc81795 Mon Sep 17 00:00:00 2001 From: liuchen864 <23082234@qq.com> Date: Sun, 14 Apr 2024 08:39:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B5=B7=E6=8B=89=E7=8E=AF?= =?UTF-8?q?=E5=A2=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application-prod.yml | 16 ++++++++-------- .../src/main/resources/application-test.yml | 6 +++--- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/win-admin/src/main/resources/application-prod.yml b/win-admin/src/main/resources/application-prod.yml index a1d69aa..94dcb9c 100644 --- a/win-admin/src/main/resources/application-prod.yml +++ b/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: diff --git a/win-admin/src/main/resources/application-test.yml b/win-admin/src/main/resources/application-test.yml index da19d2c..94dcb9c 100644 --- a/win-admin/src/main/resources/application-test.yml +++ b/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: