Commit efed5a29 authored by 高东东's avatar 高东东

修改事件监听bug

parent 48d243d3
......@@ -30,7 +30,8 @@ public class MqttEventReceiveServiceImpl implements MqttEventReceiveService {
JSONObject eventJson = JSONObject.parseObject(event);
String eventContent = eventJson.getString("eventContent");
String eventType = eventJson.getString("eventType");
String eventType = String.valueOf(eventJson.get("eventType")).toString();
String eventPic = eventJson.getString("pic");
List<String> eventPicList = new ArrayList<String>();
......
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