From f8805dcb9cbfda1182761d3c1c9e345f53db3452 Mon Sep 17 00:00:00 2001
From: 叶松 <2217086471@qq.com>
Date: 星期四, 16 十一月 2023 09:17:24 +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