SpringCloud 启动 Feign报错:Method has too many Body parameters
SpringCloud 启动 Feign报错:Caused by: java.lang.IllegalStateException: Method has too many Body parameters:
这和参数的个数有关
当通过 GET 方式调用接口的时候如果参数个数大于一个,那么每一个参数都需要加@RequestParam注解
示例
void test(@Request...
原创
2019-08-21 17:56:24 ·
369 阅读 ·
0 评论