mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-23 21:47:49 +08:00
去除功能的重复实现
This commit is contained in:
parent
dc20ccfce8
commit
cea7d51139
@ -207,7 +207,6 @@ public class DeviceQuery {
|
|||||||
boolean isSuccess = storager.delete(deviceId);
|
boolean isSuccess = storager.delete(deviceId);
|
||||||
if (isSuccess) {
|
if (isSuccess) {
|
||||||
redisCatchStorage.clearCatchByDeviceId(deviceId);
|
redisCatchStorage.clearCatchByDeviceId(deviceId);
|
||||||
redisCatchStorage.removeDevice(deviceId);
|
|
||||||
JSONObject json = new JSONObject();
|
JSONObject json = new JSONObject();
|
||||||
json.put("deviceId", deviceId);
|
json.put("deviceId", deviceId);
|
||||||
return new ResponseEntity<>(json.toString(),HttpStatus.OK);
|
return new ResponseEntity<>(json.toString(),HttpStatus.OK);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user