springboot上传文件时采用MultipartFile 类型上传
@ApiOperation("图片普通上传, adslotId 和 [ width,height ] 至少传一项, 如果同时传递了 adslotId 和 [ width,height ] ,则使用 [ width,height ] 对图片做大小限制,否则根据 adslotId 对应的资源位的尺寸对图片做大小限制 )")
@PostMapping("images")
public ResultEntity<Object> images(MultipartFile file , @RequestParam(required = false)Integer width, @RequestParam(required = false)Inte