Commit 7bd34b6c1222fd14bb587739707d62009588f7a6

Authored by 杨鸣坤
1 parent 4a6ba456

chore: 更新数据库与Redis集群连接配置 暂存

... ... @@ -4,7 +4,7 @@ spring:
4 4 main:
5 5 banner-mode: off
6 6 datasource:
7   - url: jdbc:mysql://192.168.1.248:3306/qixiao-apaas?characterEncoding=utf-8&useSSL=false
  7 + url: jdbc:mysql://10.9.1.252:3306/qixiao-apaas?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
8 8 username: root
9 9 password: "qiXiao.20240826.mysql.com"
10 10 driver-class-name: com.mysql.cj.jdbc.Driver
... ... @@ -12,9 +12,9 @@ spring:
12 12 redis:
13 13 cluster:
14 14 nodes: # 集群节点列表
15   - - 192.168.1.248:16380
16   - - 192.168.1.248:16381
17   - - 192.168.1.248:16382
  15 + - 10.9.1.252:16380
  16 + - 10.9.1.252:16381
  17 + - 10.9.1.252:16382
18 18 max-redirects: 3 # 最大重定向次数
19 19 password: "Qixiao@redis20240410.com" # 如果有密码
20 20
... ... @@ -93,4 +93,4 @@ energy:
93 93 # 公司配置表(主数据库中存储各公司的数据源和IoT配置)
94 94 corp:
95 95 config:
96   - tableName: "t_auto_hnlt_ccfg_corp_conf"
  96 + tableName: "t_auto_ymk_ccfg_corp_conf"
... ...