首先设置 Content-Type 为 multipart/form-data 然后 HttpMediaTypeNotSupportedException 这个异常的解决 对象数据前面别加其他注解就好了