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);
|
}
|