SpringCloud使用Feign调用服务,@ModelAttribute无法传递实体类参数

解决办法:首先调用服务的Controller中使用@ModelAttribute没有错,将远程接口和服务提供者Controller中传参对象加上或者改为@RequestBody注解。

posted @ 2018-12-02 17:43  _chenyl  阅读(721)  评论(0)    收藏  举报