OpenFeign远程调用方法错误

当使用OpenFeign时如果在书写调用方法时如
@GetMapping
List queryItemByIds(@RequestParam("ids") Collection ids);
请求参数错写为路径参数@PathVariable会导致调用目标服务时无法准确识别并调用方法
导致出现异常

posted on 2025-03-15 21:14  笙3146487032  阅读(33)  评论(0)    收藏  举报