Commit 6c66873c authored by tianyiming's avatar tianyiming

提交

parent f46f2e4a
......@@ -18,7 +18,8 @@ public class AmosMqttListener extends EmqxListener {
IEquipmentCategoryService equipmentCategoryService;
@Override
public void processMessage(String topic, MqttMessage mqttMessage){
public void processMessage(String topic, MqttMessage mqttMessage) {
System.out.println(topic + "已收到:准备生成监管码或96333电梯识别码");
byte[] payload = mqttMessage.getPayload();
String str = new String(payload);
String msg = JSON.parse(str).toString();
......
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