From 4291b79617cace8d7c3628dd8deb23eeb2747a72 Mon Sep 17 00:00:00 2001
From: liulin <lin.liu@88.com>
Date: 星期四, 19 六月 2025 15:43:38 +0800
Subject: [PATCH] 添加mqtt服务

---
 src/main/resources/application-test.yml |   42 +++++++++++++++++++++++++++++++++++++-----
 1 files changed, 37 insertions(+), 5 deletions(-)

diff --git a/src/main/resources/application-test.yml b/src/main/resources/application-test.yml
index a1d2c9f..04208da 100644
--- a/src/main/resources/application-test.yml
+++ b/src/main/resources/application-test.yml
@@ -1,12 +1,12 @@
 server:
-  port: 8088
+  port: 8040
 
 spring:
   jackson:
     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/fengdu_gases_system
     username: lunhan
     password: lunhan.20240330
     druid:
@@ -34,10 +34,42 @@
     path: ./logs
   level:
     root: info
-    com.fengdu.gas.host: DEBUG
-    com.fengdu.gas.service: DEBUG
+    com.fengdu.gas: info
+
+file:
+  uploadBasicPath: ./logs/upload/
+  fileBasicUrl: http://localhost/file
+  disturbStr: com.fengdu.gas
+
+
+
+# mybatis-plus 配置:
+#mybatis-plus:
+#  configuration:
+#    ### 开启打印sql配置
+#    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+
+mqtt:
+  # 是否启用
+  enable: false
+  host: 113.250.189.120
+  port: 1885
+  user: admin
+  password: public
+  # 订阅主题
+  topic: fengdu/#
+  # 订阅消息的客户端id
+  clientId: fengdu-gases-service-dev
+  # 连接超时时间
+  connectionTimeout: 10
+  # 心跳
+  keepAliveInterval: 20
+  # 发送消息的客户端id
+  serverClientId:  fengdu-gases-service-publish-dev
+
+
 
 # quartz定时任务配置
 quartz:
   # 是否启用
-  enable: true
+  enable: false
\ No newline at end of file

--
Gitblit v1.9.3