springboot同时接收上传的文件和json 1、controller 请求参数加上@RequestPart 2、postman发起请求 body -> form-data -> json参数后面填写content-type:application/json