测试提交

master
星期八 6 years ago
parent 664a513f78
commit 9bd3e5f15d
  1. 2
      src/main/java/com/lq/cms/web/sys/UserController.java

@ -155,7 +155,6 @@ public class UserController {
String fileType = FileUtil.fileFormat(multipartFile.getOriginalFilename());
newFileName = "user/"+uuid.toString()+"."+fileType;
File newFile = new File(FILE_LOAD_PATH +newFileName);
if (!newFile.exists()){
newFile.mkdirs();
}
@ -165,7 +164,6 @@ public class UserController {
e.printStackTrace();
}
}
return newFileName;
}

Loading…
Cancel
Save