Commit 17945f62 authored by 赵啸非's avatar 赵啸非

修改redis 过期事件通知

parent cf56eaa7
...@@ -429,7 +429,7 @@ public class DeviceApiController { ...@@ -429,7 +429,7 @@ public class DeviceApiController {
log.info("【设备删除】【请求体】--> " + JSONObject.toJSONString(req)); log.info("【设备删除】【请求体】--> " + JSONObject.toJSONString(req));
//根据设备编码查询设备 //根据设备编码查询设备
DeviceEntity deviceEntity = checkDeviceExist(req); DeviceEntity deviceEntity = checkDeviceExist(req);
deviceService.remove(deviceEntity.getId(), null); deviceService.remove(new Long[]{deviceEntity.getId()}, null);
} }
......
...@@ -92,7 +92,7 @@ Content-Type: application/json ...@@ -92,7 +92,7 @@ Content-Type: application/json
{ {
"receiveMethod": 1, "receiveMethod": 1,
"deviceName": "测试接口创建设备3", "deviceName": "测试接口创建设备3",
"deviceCode": "A1:12:23:12:23:1124", "deviceCode": "b12345678",
"siteId": 123, "siteId": 123,
"siteCode": "adfasfdasfdasf", "siteCode": "adfasfdasfdasf",
"siteName": "测试站点", "siteName": "测试站点",
......
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