OpenFeign @PathVariable需注明参数名称

在定义 OpenFeign 的远程接口时,如果是路径拼接作为参数的远程接口,需要在@PathVariable需注明参数名称,不然代码启动时会报错。 正例@FeignClient(value = ServiceConstants.SYSTEM, fallbackFactory = RemoteFile
posted @ 2024-05-08 18:05  天航星  阅读(52)  评论(0编辑  收藏  举报