From b61c9c7a0602e3be44c3a4064a6a172734cb959c Mon Sep 17 00:00:00 2001 From: chenyouting <514333061@qq.com> Date: Thu, 21 Aug 2025 09:54:42 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6=E6=8F=90?= =?UTF-8?q?=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application-prod.yml | 23 ++++++++++--------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/fys-admin/src/main/resources/application-prod.yml b/fys-admin/src/main/resources/application-prod.yml index 67cca4f..46c9fda 100644 --- a/fys-admin/src/main/resources/application-prod.yml +++ b/fys-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://47.120.79.150:3306/fys-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true + url: jdbc:mysql://47.107.152.87:3306/fys_vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true username: root - password: Jq_123456# + password: Jz_5623_cl1 # # 从库数据源 # slave: # lazy: true @@ -101,13 +101,13 @@ spring: spring.data: redis: # 地址 - host: 47.120.79.150 + host: 47.107.152.87 # 端口,默认为6379 port: 6379 # 数据库索引 database: 1 # redis 密码必须配置 - password: xhYc_djkl382^#780! + password: re_fs_11520631 # 连接超时时间 timeout: 10s # 是否开启ssl @@ -177,14 +177,14 @@ sms: # 框架定义的厂商名称标识,标定此配置是哪个厂商,详细请看厂商标识介绍部分 supplier: alibaba # 有些称为accessKey有些称之为apiKey,也有称为sdkKey或者appId。 - access-key-id: LTAI5tJdDNpZootsPQ5hdELx + access-key-id: LTAI5tDGfJd4kMvrGtvyzCHz # 称为accessSecret有些称之为apiSecret - access-key-secret: mU4WtffcCXpHPz5tLwQpaGtLsJXONt + access-key-secret: a4ZlVHVSYeMQHn0p1R18thA6xCdHQh #模板ID 非必须配置,如果使用sendMessage的快速发送需此配置 - template-id: SMS_322180518 + template-id: SMS_324526343 #模板变量 上述模板的变量 templateName: code - signature: 湖北星汉研创科技 + signature: 深圳市富源晟科技 config2: # 厂商标识,标定此配置是哪个厂商,详细请看厂商标识介绍部分 supplier: tencent @@ -280,12 +280,13 @@ justauth: # MQTT配置 mqtt: username: admin - password: #YtvpSfCNG - url: tcp://47.120.79.150:2883 + password: fys123456 + url: tcp://47.107.152.87:1883 subClientId: fys_subClient - subTopic: A/#,B/#,worker/location/# + subTopic: A/#,worker/location/# pubTopic: B/# pubClientId: fys_pubClient + enabled: false # 文件存储路径