소스 검색

查询使用卫生间信息

chejianzheng 3 달 전
부모
커밋
93891da2b8
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/main/java/com/wxxcx/index/WxxcxIndexController.java

+ 2 - 2
src/main/java/com/wxxcx/index/WxxcxIndexController.java

@@ -1113,8 +1113,8 @@ public class WxxcxIndexController<AesException extends Throwable> {
         JSONObject jsonObject = new JSONObject();
         jsonObject.put("dev_id", dev_id);
         try {
-            MqttUtil.pub("/ops/update_furnitures", jsonObject.toJSONString());
-            System.out.println("发送topic/ops/update_furnitures, param = " +jsonObject.toJSONString() + " 成功");
+            MqttUtil.pub("/opc/update_furnitures", jsonObject.toJSONString());
+            System.out.println("发送topic: /opc/update_furnitures, param = " +jsonObject.toJSONString() + " 成功");
         } catch (Exception e) {
             r = JSONUtil.getErrorMsg(e);
         }