提交 f102ce21 authored 作者: zhangshuang's avatar zhangshuang

bug修改

上级 6808aa72
......@@ -189,6 +189,7 @@ public class FileUploadServiceImpl implements FileUploadService {
//删除md5目录,及临时文件
deleteFile(new File(fileAddress + "/" + md5File));
fileOutputStream.flush();
log.info(savePath + "文件合并成功");
} catch (Exception e) {
log.error(fileSave.getPath() + "文件保存失败");
e.printStackTrace();
......
......@@ -21,6 +21,8 @@ spring.jpa.open-in-view=true
spring.servlet.multipart.max-file-size=100MB
spring.servlet.multipart.max-request-size=100MB
server.tomcat.max-http-form-post-size=100*1024*1024
file.address=/Users/ljj/software/ftp
# SSL config
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论