From 157c26f5188c7ed62a4547f7e3b5a5a3e3ed7729 Mon Sep 17 00:00:00 2001 From: ‘liusuyi’ <1951119284@qq.com> Date: 星期日, 08 十月 2023 09:40:47 +0800 Subject: [PATCH] 优化mqtt生产者取消消费者订阅 --- src/main/resources/application-dev.yml | 19 +++++++++---------- 1 files changed, 9 insertions(+), 10 deletions(-) diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml index ed3593e..a7b1837 100644 --- a/src/main/resources/application-dev.yml +++ b/src/main/resources/application-dev.yml @@ -35,20 +35,19 @@ port: 40000 enabled: true tcp: - enabled: false + enabled: true # mqtt閰嶇疆 mqtt: host: tcp://192.168.2.15:1883 - clientId: cc3 + clientId: client-227 username: admin password: admin - topic: tube timeout: 100 keepalive: 60 enabled: true # 鐩楃數鎺ュ彛鍦板潃 stealelec: - enabled: false + enabled: true url: http://iot.zhdk.net:8090/Warning/GetWarning?userName=cy4oil # 涓夊巶鏁板瓧鍖栧湴鍧� digitization3: @@ -58,10 +57,10 @@ endpoint: http://192.168.2.15:9001 accessKey: admin secretKey: xzx12345 -# mybatis閰嶇疆 -mybatis: - typeAliasesPackage: com.ard.alarm.**.domain - mapperLocations: classpath:/mapper/*.xml +# mybatis-plus閰嶇疆 +mybatis-plus: + type-aliases-package: com.ard.alarm.**.domain + mapper-locations: classpath:/mapper/*.xml # 鏃ュ織绛夌骇閰嶇疆 logging: level: @@ -71,5 +70,5 @@ external: info camera: info tube: info - digitization3: debug - stealAlarm: info \ No newline at end of file + digitization3: info + stealAlarm: info -- Gitblit v1.9.3