Bläddra i källkod

fix 修改批量下载接口

DYH2020 2 år sedan
förälder
incheckning
543d81ab56

+ 1 - 0
src/main/java/com/ywt/mg/services/enterprise/ApplyProjectService.java

@@ -107,6 +107,7 @@ public class ApplyProjectService {
                 zipFileName += request.getUploadTimeStart().replace("-", "") + "~" + request.getUploadTimeEnd().replace("-", "");
             }
             zipFileName += ".zip";
+            FileUtil.createFoldersIfNotExit(rootPrefix + zipFileName);
             ZipFileUtil.stringFileUrlToZip(rootPrefix + zipFileName, fileUrl);
 
             // 4、将打包的文件传给客户端