在调用其他项目接口时出现Request method 'POST' not supported,如下图 而且调用的时候也使用的是GetMapping 解决办法: 当请求方式是get时,要在参数前加@RequestParam