Commit ac764a69 authored by chenzhao's avatar chenzhao

修改代码

parent 1f546c48
......@@ -468,7 +468,7 @@ public class MonitorFanIdxController extends BaseController {
result.setTotal(100);
try {
emqKeeper.getMqttClient().publish("", JSON.toJSONString(result).getBytes(),0,false);
emqKeeper.getMqttClient().publish(stationId+"/switch/"+equipName, JSON.toJSONString(result).getBytes(),0,false);
} catch (MqttException e) {
e.printStackTrace();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment