运行之后报错: Resolved [org.springframework.web.HttpMediaTypeNotSupportedException: Content-Type 'multipart/form-data;boundary=--------------------------857687952796867260732426;charset=UTF-8' is not supported] 解决: 如果你用一个类来接收前端参数,那么注释不能用@RequestBody,要用@ModelAttribute