Feign 客户端调用错误

1.@RequestBody 必须要写在实现接口中

2.Feign 客户端调用的时候如果参数的话,默认是发送post请求

3.服务接口中的请求参数必须要加上@RequestParam("registCode")注解

猜你喜欢

转载自www.cnblogs.com/ming-blogs/p/11129663.html