请求方式@GetMapping("")
传参形式@RequestBody
异常问题:org.springframework.web.HttpRequestMethodNotSupportedException: Request method ‘POST’ not supported
解决方式:
pom中引入
<dependency>
<groupId>io.github.openfeign</groupId>
<artifactId>feign-httpclient</artifactId>
</dependency>
maven更新完之后,目前版本是9.5.0