From a12423474cd5384898fb91dba49dea23931f7b9a Mon Sep 17 00:00:00 2001 From: 邱宇豪 <qyh123230312> Date: 星期四, 26 十月 2023 11:34:09 +0800 Subject: [PATCH] 20231026_qiuyh_调整磨具监测 --- 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