Commit b009f0b058db21ff7813c903b273c6778bfadcdf
1 parent
26d36726
application-local.yaml 恢复
Showing
1 changed file
with
8 additions
and
8 deletions
yudao-server/src/main/resources/application-local.yaml
| @@ -48,7 +48,7 @@ spring: | @@ -48,7 +48,7 @@ spring: | ||
| 48 | primary: master | 48 | primary: master |
| 49 | datasource: | 49 | datasource: |
| 50 | master: | 50 | master: |
| 51 | - name: ruoyi-vue-pro2 | 51 | + name: ruoyi-vue-pro |
| 52 | url: jdbc:mysql://127.0.0.1:3306/${spring.datasource.dynamic.datasource.master.name}?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例 | 52 | url: jdbc:mysql://127.0.0.1:3306/${spring.datasource.dynamic.datasource.master.name}?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例 |
| 53 | # url: jdbc:mysql://127.0.0.1:3306/${spring.datasource.dynamic.datasource.master.name}?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=CTT # MySQL Connector/J 5.X 连接的示例 | 53 | # url: jdbc:mysql://127.0.0.1:3306/${spring.datasource.dynamic.datasource.master.name}?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=CTT # MySQL Connector/J 5.X 连接的示例 |
| 54 | # url: jdbc:postgresql://127.0.0.1:5432/${spring.datasource.dynamic.datasource.master.name} # PostgreSQL 连接的示例 | 54 | # url: jdbc:postgresql://127.0.0.1:5432/${spring.datasource.dynamic.datasource.master.name} # PostgreSQL 连接的示例 |
| @@ -59,7 +59,7 @@ spring: | @@ -59,7 +59,7 @@ spring: | ||
| 59 | # username: sa | 59 | # username: sa |
| 60 | # password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W | 60 | # password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W |
| 61 | slave: # 模拟从库,可根据自己需要修改 | 61 | slave: # 模拟从库,可根据自己需要修改 |
| 62 | - name: ruoyi-vue-pro2 | 62 | + name: ruoyi-vue-pro |
| 63 | lazy: true # 开启懒加载,保证启动速度 | 63 | lazy: true # 开启懒加载,保证启动速度 |
| 64 | url: jdbc:mysql://127.0.0.1:3306/${spring.datasource.dynamic.datasource.slave.name}?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例 | 64 | url: jdbc:mysql://127.0.0.1:3306/${spring.datasource.dynamic.datasource.slave.name}?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例 |
| 65 | # url: jdbc:mysql://127.0.0.1:3306/${spring.datasource.dynamic.datasource.slave.name}?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=CTT # MySQL Connector/J 5.X 连接的示例 | 65 | # url: jdbc:mysql://127.0.0.1:3306/${spring.datasource.dynamic.datasource.slave.name}?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=CTT # MySQL Connector/J 5.X 连接的示例 |
| @@ -75,8 +75,8 @@ spring: | @@ -75,8 +75,8 @@ spring: | ||
| 75 | redis: | 75 | redis: |
| 76 | host: 127.0.0.1 # 地址 | 76 | host: 127.0.0.1 # 地址 |
| 77 | port: 6379 # 端口 | 77 | port: 6379 # 端口 |
| 78 | - database: 5 # 数据库索引 | ||
| 79 | - password: 123456 # 密码,建议生产环境开启 | 78 | + database: 0 # 数据库索引 |
| 79 | +# password: dev # 密码,建议生产环境开启 | ||
| 80 | 80 | ||
| 81 | --- #################### 定时任务相关配置 #################### | 81 | --- #################### 定时任务相关配置 #################### |
| 82 | 82 | ||
| @@ -174,8 +174,8 @@ debug: false | @@ -174,8 +174,8 @@ debug: false | ||
| 174 | --- #################### 微信公众号、小程序相关配置 #################### | 174 | --- #################### 微信公众号、小程序相关配置 #################### |
| 175 | wx: | 175 | wx: |
| 176 | mp: # 公众号配置(必填),参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-mp-spring-boot-starter/README.md 文档 | 176 | mp: # 公众号配置(必填),参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-mp-spring-boot-starter/README.md 文档 |
| 177 | -# app-id: wx041349c6f39b268b | ||
| 178 | -# secret: 5abee519483bc9f8cb37ce280e814bd0 | 177 | + # app-id: wx041349c6f39b268b |
| 178 | + # secret: 5abee519483bc9f8cb37ce280e814bd0 | ||
| 179 | app-id: wx5b23ba7a5589ecbb # 测试号 | 179 | app-id: wx5b23ba7a5589ecbb # 测试号 |
| 180 | secret: 2a7b3b20c537e52e74afd395eb85f61f | 180 | secret: 2a7b3b20c537e52e74afd395eb85f61f |
| 181 | # 存储配置,解决 AccessToken 的跨节点的共享 | 181 | # 存储配置,解决 AccessToken 的跨节点的共享 |
| @@ -184,8 +184,8 @@ wx: | @@ -184,8 +184,8 @@ wx: | ||
| 184 | key-prefix: wx # Redis Key 的前缀 | 184 | key-prefix: wx # Redis Key 的前缀 |
| 185 | http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台 | 185 | http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台 |
| 186 | miniapp: # 小程序配置(必填),参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-miniapp-spring-boot-starter/README.md 文档 | 186 | miniapp: # 小程序配置(必填),参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-miniapp-spring-boot-starter/README.md 文档 |
| 187 | -# appid: wx62056c0d5e8db250 | ||
| 188 | -# secret: 333ae72f41552af1e998fe1f54e1584a | 187 | + # appid: wx62056c0d5e8db250 |
| 188 | + # secret: 333ae72f41552af1e998fe1f54e1584a | ||
| 189 | appid: wx63c280fe3248a3e7 # wenhualian的接口测试号 | 189 | appid: wx63c280fe3248a3e7 # wenhualian的接口测试号 |
| 190 | secret: 6f270509224a7ae1296bbf1c8cb97aed | 190 | secret: 6f270509224a7ae1296bbf1c8cb97aed |
| 191 | config-storage: | 191 | config-storage: |