Browse Source

场景下载

dengsixing 5 tháng trước cách đây
mục cha
commit
501f1cf576

+ 1 - 1
src/main/java/com/fdkankan/scene/service/impl/SceneDownloadHandlerServiceImpl.java

@@ -489,7 +489,7 @@ public class SceneDownloadHandlerServiceImpl {
         for (String localFilePath : localFilePaths) {
             try (FileInputStream in = new FileInputStream(localFilePath)){
 //                this.zipInputStream(out, localFilePath.replace(v3localPath, ""), in);
-                FileUtil.copy(localFilePath, localFilePath.replace(localPath, sourcePath), true);
+                FileUtil.copy(localFilePath, localFilePath.replace(localPath, String.format(sourcePath, num, "")), true);
             }catch (Exception e){
                 throw e;
             }