From 58e841720c0b1f56ba15a1f1ecdb26c8158c4db1 Mon Sep 17 00:00:00 2001
From: 李旭东 <woaiguo66@sina.com>
Date: 星期三, 08 十一月 2023 08:56:07 +0800
Subject: [PATCH] 智慧监控页面增加
---
hd/pipe/StaffManage/src/main/java/com/thhy/staff/config/EmqxConfig.java | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/hd/pipe/StaffManage/src/main/java/com/thhy/staff/config/EmqxConfig.java b/hd/pipe/StaffManage/src/main/java/com/thhy/staff/config/EmqxConfig.java
index 9cbf72b..e8d1042 100644
--- a/hd/pipe/StaffManage/src/main/java/com/thhy/staff/config/EmqxConfig.java
+++ b/hd/pipe/StaffManage/src/main/java/com/thhy/staff/config/EmqxConfig.java
@@ -29,7 +29,8 @@
@Override
public String toString() {
- return "{" +
+ return "{\"host\":\""+host+"\",\"login\":\""+login+"\",\"password\":\""+password+"\",\"port\":"+port+",\"qos\":1}";
+ /*return "{" +
"host:'" + host + '\'' +
", port:'" + port + '\'' +
", login:'" + login + '\'' +
@@ -38,6 +39,6 @@
", topic:'" + topic + '\'' +
", willTopic:'" + willTopic + '\'' +
", willContent:'" + willContent + '\'' +
- '}';
+ '}';*/
}
}
--
Gitblit v1.9.3