|
|
@@ -1109,6 +1109,15 @@ public class WxxcxIndexController<AesException extends Throwable> {
|
|
|
e.printStackTrace();
|
|
|
r = JSONUtil.getErrorMsg(e);
|
|
|
}
|
|
|
+
|
|
|
+ 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() + " 成功");
|
|
|
+ } catch (Exception e) {
|
|
|
+ r = JSONUtil.getErrorMsg(e);
|
|
|
+ }
|
|
|
return r;
|
|
|
}
|
|
|
|