Commit 828eccd4 authored by 李腾威's avatar 李腾威

地图消息接口

parent 62c2076f
......@@ -134,10 +134,10 @@ public class AlertCalledController extends BaseController {
AgencyUserModel user =getUserInfo();
JSONObject jsonObject = new JSONObject();
jsonObject.put("userId",user.getUserId());
jsonObject.put("alertId",alertCalledObjsDto.getAlertCalledDto().getSequenceNbr());
jsonObject.put("alertId",String.valueOf(alertCalledObjsDto.getAlertCalledDto().getSequenceNbr()));
JSONObject jsonObject1 = new JSONObject();
jsonObject.put("alertId",alertCalledObjsDto.getAlertCalledDto().getSequenceNbr());
jsonObject.put("alertId",String.valueOf(alertCalledObjsDto.getAlertCalledDto().getSequenceNbr()));
try {
emqKeeper.getMqttClient().publish(alertReportpushTopic, jsonObject.toString().getBytes("UTF-8"), 1, false);
......
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