This commit is contained in:
2026-01-09 20:14:10 +08:00
parent 0282dbb0e7
commit 9697bfe3cf
2 changed files with 29 additions and 26 deletions

View File

@@ -6,9 +6,11 @@ spring:
druid:
# 主库数据源
master:
url: jdbc:highgo://124.243.245.42:5866/highgo?useUnicode=true&characterEncoding=utf8&currentSchema=ks_db4&stringtype=unspecified
url: jdbc:highgo://192.168.0.13:5866/highgo?useUnicode=true&characterEncoding=utf8&currentSchema=shz&stringtype=unspecified
#username: syssso
username: sysdba
password: ZKR2024@comzkr
password: SHZ2025@comzkr2
# 从库数据源
slave:
# 从数据源开关/默认关闭
@@ -61,13 +63,13 @@ spring:
multi-statement-allow: true
redis:
# 地址
host: 124.243.245.42
host: 127.0.0.1
# 端口默认为6379
port: 5379
port: 6379
# 数据库索引
database: 5
database: 0
# 密码
password: ZKR2024@@.com
password: SHZ2025@@.com
# 连接超时时间
timeout: 10s
lettuce:
@@ -80,14 +82,15 @@ spring:
max-active: 8
# #连接池最大阻塞等待时间(使用负值表示没有限制)
max-wait: -1ms
# easy-es
easy-es:
enable: true
banner: false
address: 124.243.245.42:9200
address: 127.0.0.1:9200
global-config:
process-index-mode: manual
db-config:
refresh-policy: immediate
username: elastic
password: zkr2024@@.com
password: shz2025@@.com