package com.ycl.feign; import com.alibaba.fastjson2.JSONObject; import com.ycl.platform.domain.param.UY.*; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.cloud.openfeign.SpringQueryMap; import org.springframework.stereotype.Component; 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; /** * @author gonghl * @since 2024/7/1 下午 4:01 */ @Component @FeignClient(name = "UYClient", url = "${request.youYunDomain}", configuration = YYFeignConfig.class) public interface UYClient { /** * 一机一档 * * @param cameraParam 请求参数 * @return 查询摄像机清单集合 */ @GetMapping("/VIID/Cameras") JSONObject cameraList(@SpringQueryMap CameraParam cameraParam); /** * 点位在线 * * @param onlineParam 请求参数 * @return 查询在线统计列表 */ @GetMapping("/openapi/v1/report/online/list") JSONObject onlineList(@SpringQueryMap OnlineParam onlineParam); /** * 录像可用 * * @param recordMetaDSumParam 请求参数 * @return 查询满足条件的录像汇总信息 */ @PostMapping("/report/recordMetaDSum/list") JSONObject recordMetaDSumList(@RequestBody RecordMetaDSumParam recordMetaDSumParam); @GetMapping("/api/v1/app/osdMonitor/list") JSONObject osdMonitorList(); /** * 图像检测诊断结果 * * @param param * @return */ @GetMapping("/openapi/v1/vqdMonitor/queryVqdResult") JSONObject queryVqdResult(@SpringQueryMap QueryVqdParam param); /** * 视频图像质量 * * @param param * @return */ @GetMapping("/api/v1/app/report/vqd/detail/list") JSONObject queryVqdResult(@SpringQueryMap VideoQualityParam param); }