去除功能的重复实现

This commit is contained in:
648540858 2022-01-05 15:25:19 +08:00
parent 3d04086eb4
commit 0bfe596889

View File

@ -207,7 +207,6 @@ public class DeviceQuery {
boolean isSuccess = storager.delete(deviceId);
if (isSuccess) {
redisCatchStorage.clearCatchByDeviceId(deviceId);
redisCatchStorage.removeDevice(deviceId);
JSONObject json = new JSONObject();
json.put("deviceId", deviceId);
return new ResponseEntity<>(json.toString(),HttpStatus.OK);