java feign 模块调用多参数问题,list实体和多个String参数调不通
//FeignClient接口
@PostMapping("/xxx/xxx/xxx")
public AjaxResult batchInsertAnnexInfo(@RequestBody List<User> list,@RequestParam("name") String name,@RequestParam("type") String type);
//提供者这也是这么定义的
public AjaxResult batchInsertAnnexInfo(@RequestBody List<User> list,@RequestParam("name") String name,@RequestParam("type") String type)
{
}
之前这个方法是好使的,就传个list用RequestBody 接收,后来加上两个String参数就不好使了,哪位大神帮看看是什么原因