fuliqi
2024-08-16 2a12d6d43b6f7abc0ef594ee9b992f34ee00b7a1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.ycl.feign;
 
 
import com.alibaba.fastjson2.JSONObject;
import com.ycl.platform.domain.param.UY.PyOsdParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
 
@Component
@FeignClient(name = "PythonClient", url = "${request.pythonDomain}")
public interface PythonClient {
    /**
     * OSD标注
     *
     * @return 查询摄像机OSD标注
     */
    @PostMapping("/")
    JSONObject pythonOsd(@RequestBody PyOsdParam param);
}