src/main/java/com/genersoft/iot/vmp/web/gb28181/ApiDeviceController.java
@@ -20,7 +20,7 @@ * API兼容:设备信息 */ @SuppressWarnings("unchecked") @CrossOrigin @RestController @RequestMapping(value = "/api/v1/device") public class ApiDeviceController { @@ -109,12 +109,6 @@ // } JSONObject result = new JSONObject(); // 查询设备是否存在 Device device = storager.queryVideoDevice(serial); if (device == null) { result.put("ChannelCount", 0); result.put("ChannelList", "[]"); return result; } List<DeviceChannel> deviceChannels; List<String> channelIds = null; if (!StringUtils.isEmpty(code)) {