前端发送含参Get请求浏览器报“status“: 400, “error“: “Bad Request“错误
1. 错误描述1.1 后端报错HttpMessageNotReadableException: Required request body is missing1.2 浏览器报错“status“: 400, “error“: “Bad Request“2. 原因当前端使用Get请求方式发送含参请求时,后端Controller接收参数时不同使用@RequesrBody注解。而应该使用如下方式: @GetMapping("/info") @ApiOperation("通过用户toke











