|
|
|
@ -145,9 +145,6 @@ public class StationVideoTypeController extends BladeController {
|
|
|
|
|
@RequestMapping(value = "/getVideoMonitor", method = {RequestMethod.GET, RequestMethod.POST}) |
|
|
|
|
@ApiOperationSupport(order = 50) |
|
|
|
|
@ApiOperation(value = "获取视频监测列表", notes = "获取视频监测列表") |
|
|
|
|
@OperationAnnotation(moduleName = "视频监控",title = "视频监控",operatorType = OperatorType.APPSYSTEMS,businessType = |
|
|
|
|
BusinessType.GENCODE, |
|
|
|
|
action = "获取视频监测列表") |
|
|
|
|
public R<List<VideoMonitorVO>> getVideoMonitor() { |
|
|
|
|
List<VideoMonitorVO> result = stationVideoTypeService.getVideoMonitor(); |
|
|
|
|
return R.data(result); |
|
|
|
@ -156,17 +153,17 @@ public class StationVideoTypeController extends BladeController {
|
|
|
|
|
@ApiLog |
|
|
|
|
@RequestMapping(value = "/getById", method = {RequestMethod.GET, RequestMethod.POST}) |
|
|
|
|
@ApiOperationSupport(order = 60) |
|
|
|
|
@OperationAnnotation(moduleName = "视频监控",title = "视频监控",operatorType = OperatorType.APPSYSTEMS,businessType = BusinessType.GENCODE, |
|
|
|
|
action = "获取视频监测对象") |
|
|
|
|
@ApiOperation(value = "获取视频监测对象", notes = "获取视频监测对象") |
|
|
|
|
public R<StationVideoTypeEntity> getById(@RequestParam Long id, @RequestParam int streamType) { |
|
|
|
|
return R.data(stationVideoTypeService.getById(id, streamType)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ApiLog |
|
|
|
|
@RequestMapping(value = "/getHikVideo", method = {RequestMethod.GET, RequestMethod.POST}) |
|
|
|
|
public R<String> getHikVideo() { |
|
|
|
|
return R.data(stationVideoTypeService.getHikVideo()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ApiLog |
|
|
|
|
@RequestMapping(value = "/getStationsByVideo", method = {RequestMethod.GET, RequestMethod.POST}) |
|
|
|
|
@ApiOperationSupport(order = 70) |
|
|
|
@ -174,6 +171,7 @@ public class StationVideoTypeController extends BladeController {
|
|
|
|
|
public R<List<StationEntity>> getStationsByVideo() { |
|
|
|
|
return R.data(stationVideoTypeService.getStationsByVideo()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ApiLog |
|
|
|
|
@GetMapping("/getStationVideoOrderBySort") |
|
|
|
|
@ApiOperationSupport(order = 80) |
|
|
|
@ -181,6 +179,7 @@ public class StationVideoTypeController extends BladeController {
|
|
|
|
|
public R<IPage> getStationVideoOrderBySort(StationVideoTypeDTO stationVideoTypeDTO, Query query) { |
|
|
|
|
return R.data(stationVideoTypeService.getStationVideoOrderBySort(stationVideoTypeDTO, query)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ApiLog |
|
|
|
|
@RequestMapping(value = "/getVideoByIdsAndType", method = {RequestMethod.GET, RequestMethod.POST}) |
|
|
|
|
@ApiOperationSupport(order = 90) |
|
|
|
@ -188,6 +187,7 @@ public class StationVideoTypeController extends BladeController {
|
|
|
|
|
public R<List<StationVideoTypeEntity>> getVideoByIdsAndType(@RequestParam String ids, @RequestParam String type) { |
|
|
|
|
return R.data(stationVideoTypeService.getVideoByIdsAndType(ids, type)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ApiLog |
|
|
|
|
@GetMapping("/getVideoByIds") |
|
|
|
|
@ApiOperationSupport(order = 100) |
|
|
|
@ -195,11 +195,13 @@ public class StationVideoTypeController extends BladeController {
|
|
|
|
|
public R<List<StationVideoTypeEntity>> getVideoByIds(@RequestParam String ids, @RequestParam String randomCode) { |
|
|
|
|
return R.data(stationVideoTypeService.getVideoByIds(ids, randomCode)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ApiLog |
|
|
|
|
@RequestMapping(value = "/getVideoReviewerToken", method = {RequestMethod.GET, RequestMethod.POST}) |
|
|
|
|
public R<String> getVideoReviewerToken() { |
|
|
|
|
return R.data(stationVideoTypeService.getVideoReviewerToken()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ApiLog |
|
|
|
|
@GetMapping("/getVideoMonitorByAgency") |
|
|
|
|
@ApiOperationSupport(order = 110) |
|
|
|
@ -207,6 +209,7 @@ public class StationVideoTypeController extends BladeController {
|
|
|
|
|
public R<List<VideoMonitorVO>> getVideoMonitorByAgency(@RequestParam @ApiParam("视频分类") String type) { |
|
|
|
|
return R.data(stationVideoTypeService.getVideoMonitor(type)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ApiLog |
|
|
|
|
@GetMapping("/getHikVisionStations") |
|
|
|
|
@ApiOperationSupport(order = 120) |
|
|
|
@ -214,6 +217,7 @@ public class StationVideoTypeController extends BladeController {
|
|
|
|
|
public R<List<JSONObject>> getHikVisionStations() { |
|
|
|
|
return R.data(stationVideoTypeService.getHikVisionStations()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ApiLog |
|
|
|
|
@GetMapping("/getMonitorsByStation") |
|
|
|
|
@ApiOperationSupport(order = 130) |
|
|
|
@ -221,4 +225,14 @@ public class StationVideoTypeController extends BladeController {
|
|
|
|
|
public R<Map<HikDeviceResp, List<HikMonitorResp>>> getMonitorsByStation(@RequestParam String stationId) { |
|
|
|
|
return R.data(stationVideoTypeService.getMonitorsByStation(stationId)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@OperationAnnotation(moduleName = "视频监控", title = "视频监控", operatorType = OperatorType.APPSYSTEMS, businessType = |
|
|
|
|
BusinessType.GENCODE, |
|
|
|
|
action = "获取视频监测列表") |
|
|
|
|
@GetMapping("/videoimages") |
|
|
|
|
public R videoimages() { |
|
|
|
|
return R.success("视频监控处理成功"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|