提交 812ea8b8 authored 作者: 林业通's avatar 林业通

接口

上级 83bfc516
...@@ -122,7 +122,7 @@ public class MqConsumer { ...@@ -122,7 +122,7 @@ public class MqConsumer {
shDevice.setProductId(product.getId()); shDevice.setProductId(product.getId());
otherShDeviceService.save(shDevice); otherShDeviceService.save(shDevice);
redisUtils.delete("device:save:" + datas.get("mac")); redisUtils.delete("device:save:" + datas.get("mac"));
jmsTemplate.convertAndSend(socketioTopic, JSON.toJSONString(new MapUtils().put(datas.get("mac"), "success"))); jmsTemplate.convertAndSend(socketioTopic, JSON.toJSONString(new MapUtils().put("deviceId", datas.get("mac"))));
} }
} }
ShDeviceEntity device = otherShDeviceService.deviceInfo(new MapUtils().put("numbering", datas.get("receiveId"))); ShDeviceEntity device = otherShDeviceService.deviceInfo(new MapUtils().put("numbering", datas.get("receiveId")));
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论