src/main/java/com/hx/util/MultipartFileUtil.java
@@ -40,7 +40,7 @@ * @param fileName 带后缀的文件名 * @return */ public static MultipartFile getMultipartFileWithName(File file,String fileName) { public static MultipartFile getMultipartFile(File file,String fileName) { FileItem item = new DiskFileItemFactory().createItem("file" , MediaType.MULTIPART_FORM_DATA_VALUE , true