上传文件
public String uploadMapFiles(@RequestParam("point") MultipartFile multipartFile)
等价于
public String uploadMapFiles(HttpServletRequest request) {
MultipartHttpServletRequest multipartRequest = (MultipartHttpServletRequest)request;
MultipartFile pic = multipartRequest.getFile("point");
网友评论