From 5e388cfb25b24a154e28b3c42143493fc77f8e56 Mon Sep 17 00:00:00 2001 From: liulin <lin.liu@88.com> Date: 星期五, 04 七月 2025 11:02:10 +0800 Subject: [PATCH] 添加mqtt --- src/main/resources/application-test.yml | 31 ++++++++++++++++++++++++++++++- 1 files changed, 30 insertions(+), 1 deletions(-) diff --git a/src/main/resources/application-test.yml b/src/main/resources/application-test.yml index 6a71143..4914ca0 100644 --- a/src/main/resources/application-test.yml +++ b/src/main/resources/application-test.yml @@ -6,7 +6,7 @@ date-format: yyyy-MM-dd HH:mm:ss datasource: driver-class-name: org.postgresql.Driver - url: jdbc:postgresql://113.250.189.120:57654/test_db1 + url: jdbc:postgresql://113.250.189.120:57654/water_ration_system username: lunhan password: lunhan.20240330 druid: @@ -41,3 +41,32 @@ quartz: # 是否启用 enable: true + +mqtt: + # 是否启用 + enable: true + host: 113.250.189.120 + port: 1885 + user: admin + password: public + # 订阅主题 + topic: zundong/# + # 订阅消息的客户端id + clientId: water-ration-service-dev + # 连接超时时间 + connectionTimeout: 10 + # 心跳 + keepAliveInterval: 20 + # 发送消息的客户端id + serverClientId: water-ration-service-publish-dev +pay: + weiXin: + merchantId: 1610112902 + merchantKey: HWYTddj1235jdskDAS5353fgsdAD4S53 + keyPath: d:/data/wxpay/apiclient_cert.p12 # 商户证书路径 xxx_cert.p12 + privateKeyPath: d:/data/wxpay/apiclient_key.pem # 商户证书路径 xxx_key.pem + certificateSn: 48FC0C8D96B147CE751AEEBC882C20676F900581 # 微信支付API证书序列号 + appID: wx08c82dac406bee56 + notifyBasicUrl: https://www.huiwuyuntong.com/water-qinghe-local # 本地调试回调,请用frpc代理天翼云服务器端口 11101,到本机的8929 + + -- Gitblit v1.9.3