|
@@ -116,6 +116,7 @@ public class DirectiveServiceImpl implements DirectiveService {
|
|
|
HashMap<String, Object> requestMap = new HashMap<>();
|
|
|
requestMap.put("id", siteInfo.getId());
|
|
|
requestMap.put("action", action);
|
|
|
+ requestMap.put("taskid", taskResul.getTaskid());
|
|
|
String topic = "down/" + siteInfo.getDeviceId() + "/taskStop";
|
|
|
String data = JSONUtil.toJsonStr(requestMap);
|
|
|
log.info("mqtt发送数据:topic:{} data:{}",topic,data);
|