| | |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | import org.springframework.web.bind.annotation.RequestHeader; |
| | | |
| | | /** |
| | | * @author gonghl |
| | |
| | | */ |
| | | |
| | | @Component |
| | | @FeignClient(name = "UYClient", url = "${request.youYunDomain}", configuration = YYFeignConfig.class) |
| | | @FeignClient(name = "UYClient", url = "${request.youYunDomain}", configuration = UYFeignConfig.class) |
| | | public interface UYClient { |
| | | |
| | | /** |
| | | * 一机一档 |
| | | * |
| | | * @param cameraParam 请求参数 |
| | | * @param oneMachineFileParam 请求参数 |
| | | * @return 查询摄像机清单集合 |
| | | */ |
| | | @GetMapping("/VIID/Cameras") |
| | | JSONObject cameraList(@SpringQueryMap CameraParam cameraParam); |
| | | JSONObject oneMachineFile(@SpringQueryMap OneMachineFileParam oneMachineFileParam); |
| | | |
| | | /** |
| | | * 图像监测 |
| | | * |
| | | * @param imageDetectionParam 请求参数 |
| | | * @return |
| | | */ |
| | | @GetMapping("/videomon/api/v1/app/vqdMonitor/list") |
| | | JSONObject imageDetection(@SpringQueryMap ImageDetectionParam imageDetectionParam); |
| | | |
| | | /** |
| | | * 点位在线 |
| | |
| | | * @param onlineParam 请求参数 |
| | | * @return 查询在线统计列表 |
| | | */ |
| | | @GetMapping("/openapi/v1/report/online/list") |
| | | JSONObject onlineList(@SpringQueryMap OnlineParam onlineParam); |
| | | @GetMapping("/videomon/api/v1/app/onlineMonitor/list") |
| | | JSONObject videoOnline(@SpringQueryMap VideoOnlineParam onlineParam); |
| | | |
| | | /** |
| | | * 录像可用 |
| | |
| | | * @param recordMetaDSumParam 请求参数 |
| | | * @return 查询满足条件的录像汇总信息 |
| | | */ |
| | | @PostMapping("/report/recordMetaDSum/list") |
| | | @PostMapping("/videomon/report/recordMetaDSum/list") |
| | | JSONObject recordMetaDSumList(@RequestBody RecordMetaDSumParam recordMetaDSumParam); |
| | | |
| | | @GetMapping("/api/v1/app/osdMonitor/list") |
| | | JSONObject osdMonitorList(); |
| | | /** |
| | | * osd标注信息 |
| | | * @return |
| | | */ |
| | | @GetMapping("/videomon-ocr/api/v1/osd/format/list") |
| | | JSONObject osdMonitorList(@SpringQueryMap OsdMonitorParam param, @RequestHeader("tenantId") String tenantId); |
| | | |
| | | /** |
| | | * 图像检测诊断结果 |
| | |
| | | * @param param |
| | | * @return |
| | | */ |
| | | @GetMapping("/api/v1/app/report/vqd/detail/list") |
| | | JSONObject queryVqdResult(@SpringQueryMap VideoQualityParam param); |
| | | @GetMapping("/videomon/api/v1/app/report/vqd/detail/list") |
| | | JSONObject videoQuality(@SpringQueryMap VideoQualityParam param); |
| | | |
| | | /** |
| | | * 一机一档合格率 |
| | | * |
| | | * @param param |
| | | * @return |
| | | */ |
| | | @GetMapping("/iotdiscovery/api/v1/app/camera/precision/stat/detail") |
| | | JSONObject monitorQualify(@SpringQueryMap MonitorQualifyParam param); |
| | | |
| | | /** |
| | | * 优云获取token接口 |
| | | * |
| | | * @param param |
| | | * @return |
| | | */ |
| | | @PostMapping(value = "/tenant/api/v1/user/login",headers = "No-Need-To-Token=true") |
| | | JSONObject getToken(@RequestBody UYTokenParam param); |
| | | } |