zxl
12 小时以前 3b0516a2959e25576e4f3fda697a3b025d06c8c9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
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.RequestHeader;
 
/**
 * @author gonghl
 * @since 2024/7/1 下午 4:01
 */
 
@Component
@FeignClient(name = "UYClient", url = "${request.youYunDomain}", configuration = UYFeignConfig.class)
public interface UYClient {
 
    /**
     * 一机一档
     *
     * @param oneMachineFileParam 请求参数
     * @return 查询摄像机清单集合
     */
    @GetMapping("/VIID/Cameras")
    JSONObject oneMachineFile(@SpringQueryMap OneMachineFileParam oneMachineFileParam);
 
    /**
     * 图像监测
     *
     * @param imageDetectionParam 请求参数
     * @return
     */
    @GetMapping("/videomon/api/v1/app/vqdMonitor/list")
    JSONObject imageDetection(@SpringQueryMap ImageDetectionParam imageDetectionParam);
 
    /**
     * 点位在线
     *
     * @param onlineParam 请求参数
     * @return 查询在线统计列表
     */
    @GetMapping("/videomon/api/v1/app/onlineMonitor/list")
    JSONObject videoOnline(@SpringQueryMap VideoOnlineParam onlineParam);
 
    /**
     * 录像可用
     *
     * @param recordMetaDSumParam 请求参数
     * @return 查询满足条件的录像汇总信息
     */
    @PostMapping("/videomon/report/recordMetaDSum/list")
    JSONObject recordMetaDSumList(@RequestBody RecordMetaDSumParam recordMetaDSumParam);
 
    /**
     * osd标注信息
     * @return
     */
    @GetMapping("/videomon-ocr/api/v1/osd/format/list")
    JSONObject osdMonitorList(@SpringQueryMap OsdMonitorParam param, @RequestHeader("tenantId") String tenantId);
 
    /**
     * 图像检测诊断结果
     *
     * @param param
     * @return
     */
    @GetMapping("/openapi/v1/vqdMonitor/queryVqdResult")
    JSONObject queryVqdResult(@SpringQueryMap QueryVqdParam param);
 
    /**
     * 视频图像质量
     *
     * @param param
     * @return
     */
    @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);
}