fix: 生产环境,配置文件修改。

This commit is contained in:
tianyongbao
2026-04-09 01:54:42 +08:00
parent 2fad08ebb3
commit 060ed527d1
2 changed files with 6 additions and 6 deletions

View File

@@ -34,16 +34,16 @@ spring:
# url: jdbc:mysql://36.139.89.250:13306/work?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=CONVERT_TO_NULL&transformedBitIsBoolean=true&useSSL=false&serverTimezone=Asia/Shanghai
# username: zhangsan
# password: '%qLUNmRr!4'
url: jdbc:mysql://81.70.89.108:33306/fishery_dms?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=CONVERT_TO_NULL&transformedBitIsBoolean=true&useSSL=false&serverTimezone=Asia/Shanghai
url: jdbc:mysql://172.16.42.181:33306/fishery_dms_prod?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=CONVERT_TO_NULL&transformedBitIsBoolean=true&useSSL=false&serverTimezone=Asia/Shanghai
username: root
password: Intc@123
password: mT#SgaJNXQWSw2dt
# 测试数据源
# 使用方法,在 Mapper 类或者方法上增加注解 @DS("test") 用于切换数据源
test:
driverClassName: org.postgresql.Driver
url: jdbc:postgresql://81.70.89.108:15432/fishery_dev?useUnicode=true&characterEncoding=utf8&useSSL=true&autoReconnect=true&reWriteBatchedInserts=true
url: jdbc:postgresql://72.16.42.181:15432/fishery_prod?useUnicode=true&characterEncoding=utf8&useSSL=true&autoReconnect=true&reWriteBatchedInserts=true
username: postgres
password: intc@123987
password: htYkSuRn7Gb*pbFn
# 从库数据源 - TDengine
taos:
lazy: false
@@ -51,7 +51,7 @@ spring:
type: com.zaxxer.hikari.HikariDataSource
driverClassName: com.taosdata.jdbc.rs.RestfulDriver
# 不指定数据库名,在 SQL 中使用完整路径 fishery.table_name
url: jdbc:TAOS-RS://81.70.89.108:6041?timezone=Shanghai&charset=UTF-8&locale=en_US.UTF-8
url: jdbc:TAOS-RS://172.16.42.181:6041?timezone=Shanghai&charset=UTF-8&locale=en_US.UTF-8
username: root
password: intc@123456
hikari:

View File

@@ -89,7 +89,7 @@ spring:
# redis 配置
redis:
# 地址
host: 82.157.37.106
host: 172.16.42.181
# 端口默认为6379
port: 26379
# 数据库索引