Compare commits

..

No commits in common. 'beabdc223370f48efe1f11632722dac501e910cf' and 'fdde8c33e54cae96f178eaa37ce0809698e0d5ab' have entirely different histories.

@ -163,7 +163,7 @@ public class MqttGateway {
* @param command
*/
public void sendCommand(String deviceCode, String command) {
String topic = "iot_hazard/" + deviceCode;
String topic = "iot-hazard/" + deviceCode;
// 发布消息QoS=1不保留
publish(topic, command, 1, false);
}

Loading…
Cancel
Save