From 060ed527d100e567547fc5f4a334655694bf3e98 Mon Sep 17 00:00:00 2001 From: tianyongbao Date: Thu, 9 Apr 2026 01:54:42 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=94=9F=E4=BA=A7=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=EF=BC=8C=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fishery-admin/src/main/resources/application-dev.yml | 10 +++++----- fishery-admin/src/main/resources/application.yml | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/fishery-admin/src/main/resources/application-dev.yml b/fishery-admin/src/main/resources/application-dev.yml index 878e9b5..9f30520 100644 --- a/fishery-admin/src/main/resources/application-dev.yml +++ b/fishery-admin/src/main/resources/application-dev.yml @@ -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: diff --git a/fishery-admin/src/main/resources/application.yml b/fishery-admin/src/main/resources/application.yml index 355a375..8e0626f 100644 --- a/fishery-admin/src/main/resources/application.yml +++ b/fishery-admin/src/main/resources/application.yml @@ -89,7 +89,7 @@ spring: # redis 配置 redis: # 地址 - host: 82.157.37.106 + host: 172.16.42.181 # 端口,默认为6379 port: 26379 # 数据库索引