一:headers 设置 Content-Type mutipart/form-data
二:body 传参
三:代码
public R save(@RequestParam(value="entity",required = true) String entity,@RequestParam(value="multipartFile",required = false)MultipartFile multipartFile){
CultureAuditoriumEntity cultureAuditorium = JSONObject.parseObject(entity, CultureAuditoriumEntity.class);
//将接收到的 json 转 对象
返回结果: