SpringCloudFeign报错RequestmethodPOSTnotsupported的解决办法

Feign 调用的方法的注解为 @GetMapping,但是一直报错
https://img2022.cnblogs.com/blog/1636535/202205/1636535-20220503173502448-1626606999.png
解决方案
如果 Feign 代理的是 get 请求,则每个参数必须带上 @RequestParam 注解,否则会报 POST not supported