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: