local-tool设置动态uri
This commit is contained in:
+4
-2
@@ -7,14 +7,16 @@ import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMethod;
|
||||
|
||||
import java.net.URI;
|
||||
|
||||
/**
|
||||
* @description
|
||||
* @date 2021/12/8 14:53
|
||||
* @auth zhn
|
||||
*/
|
||||
@FeignClient(name = "local-tool", url = "http://139.9.235.66:9022")
|
||||
@FeignClient(name = "local-tool", url = "EMPTY")
|
||||
public interface LocalToolFeignClient {
|
||||
|
||||
@RequestMapping(value = "/local-tool/ocr/handleFile",method = RequestMethod.POST,headers = {"content-type=application/json"})
|
||||
ResponseEntity<String> getFile(@RequestBody OcrVO ocrVO);
|
||||
ResponseEntity<String> getFile(URI uri, @RequestBody OcrVO ocrVO);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user