一.Swagger报错: 1.报错类型: TypeError: Failed to execute 'fetch' on 'Window': Request with GET/HEAD method cannot have body 2.解决方案: 请求方式错误:请求参数使用了@RequestBody注解,就要用Post来进行请求 二.@RequestParam与@RequestBody的区别 1.@RequestParam: @RequestParam接收的参数是来自requestHeader