From d864a63844afbee3e7b1ad1a7c69fc63cffc9ce5 Mon Sep 17 00:00:00 2001 From: shanxinxin <410703855@qq.com> Date: Fri, 24 Oct 2025 13:34:43 +0800 Subject: [PATCH] =?UTF-8?q?chore(config):=20=E6=9B=B4=E6=96=B0=E5=BC=80?= =?UTF-8?q?=E5=8F=91=E5=92=8C=E7=94=9F=E4=BA=A7=E7=8E=AF=E5=A2=83=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=BA=93=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将开发环境主库和从库的URL更新为test_wuye数据库 - 更新和开发环境主库从库的用户名为demonstration - 更新开发环境主库和从库的密码为Aixi2494- 将生产环境主库的URL更新为test_wuye数据库 - 更新生产环境主库的用户名为demonstration- 更新生产环境主库的密码为Aixi2494- 降级toolkit-sensitive依赖版本从1.3.4到1.2.4 --- .../src/main/resources/application-dev.yml | 12 ++++++------ .../src/main/resources/application-prod.yml | 6 +++--- propertyManagement-business/pom.xml | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/propertyManagement-admin/src/main/resources/application-dev.yml b/propertyManagement-admin/src/main/resources/application-dev.yml index 9172bee..841644f 100644 --- a/propertyManagement-admin/src/main/resources/application-dev.yml +++ b/propertyManagement-admin/src/main/resources/application-dev.yml @@ -49,17 +49,17 @@ spring: driverClassName: com.mysql.cj.jdbc.Driver # jdbc 所有参数配置参考 https://lionli.blog.csdn.net/article/details/122018562 # rewriteBatchedStatements=true 批处理优化 大幅提升批量插入更新删除性能(对数据库有性能损耗 使用批量操作应考虑性能问题) - url: jdbc:mysql://rm-hp3340490n5mw72tcto.mysql.huhehaote.rds.aliyuncs.com:3306/property_management_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true - username: property_management - password: RNku4!i8XuonGDb@ + url: jdbc:mysql://rm-hp3340490n5mw72tcto.mysql.huhehaote.rds.aliyuncs.com:3306/test_wuye?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true + username: demonstration + password: Aixi2494 # 从库数据源 slave: lazy: true type: ${spring.datasource.type} driverClassName: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://rm-hp3340490n5mw72tcto.mysql.huhehaote.rds.aliyuncs.com:3306/property_management_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true - username: property_management - password: RNku4!i8XuonGDb@ + url: jdbc:mysql://rm-hp3340490n5mw72tcto.mysql.huhehaote.rds.aliyuncs.com:3306/test_wuye?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true + username: demonstration + password: Aixi2494 # oracle: # type: ${spring.datasource.type} # driverClassName: oracle.jdbc.OracleDriver diff --git a/propertyManagement-admin/src/main/resources/application-prod.yml b/propertyManagement-admin/src/main/resources/application-prod.yml index 9f19084..669ba09 100644 --- a/propertyManagement-admin/src/main/resources/application-prod.yml +++ b/propertyManagement-admin/src/main/resources/application-prod.yml @@ -52,9 +52,9 @@ spring: driverClassName: com.mysql.cj.jdbc.Driver # jdbc 所有参数配置参考 https://lionli.blog.csdn.net/article/details/122018562 # rewriteBatchedStatements=true 批处理优化 大幅提升批量插入更新删除性能(对数据库有性能损耗 使用批量操作应考虑性能问题) - url: jdbc:mysql://rm-hp3340490n5mw72tcto.mysql.huhehaote.rds.aliyuncs.com:3306/property_management_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true - username: property_management - password: RNku4!i8XuonGDb@ + url: jdbc:mysql://rm-hp3340490n5mw72tcto.mysql.huhehaote.rds.aliyuncs.com:3306/test_wuye?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true + username: demonstration + password: Aixi2494 # 从库数据源 slave: lazy: true diff --git a/propertyManagement-business/pom.xml b/propertyManagement-business/pom.xml index 4bd776e..50eb859 100644 --- a/propertyManagement-business/pom.xml +++ b/propertyManagement-business/pom.xml @@ -22,7 +22,7 @@ com.siashan toolkit-sensitive - 1.3.4 + 1.2.4 -- 2.22.0