dengsixing 2 anni fa
parent
commit
3930820e84

+ 4 - 4
src/main/java/com/fdkankan/download/service/impl/SceneDownloadHandlerServiceImpl.java

@@ -216,7 +216,7 @@ public class SceneDownloadHandlerServiceImpl {
 
             Map<String, List<String>> allFiles = this.getAllFiles(num, v4localPath, bucket);
             List<String> ossFilePaths = allFiles.get("ossFilePaths");
-            List<String> v4localFilePaths = allFiles.get("v3localFilePaths");
+            List<String> v4localFilePaths = allFiles.get("localFilePaths");
 
             //key总个数
             int total = ossFilePaths.size() + v4localFilePaths.size();
@@ -308,7 +308,7 @@ public class SceneDownloadHandlerServiceImpl {
 
             Map<String, List<String>> allFiles = this.getAllFilesV3(num, v3localPath, bucket);
             List<String> ossFilePaths = allFiles.get("ossFilePaths");
-            List<String> v3localFilePaths = allFiles.get("v3localFilePaths");
+            List<String> v3localFilePaths = allFiles.get("localFilePaths");
 
             //key总个数
             int total = ossFilePaths.size() + v3localFilePaths.size();
@@ -502,11 +502,11 @@ public class SceneDownloadHandlerServiceImpl {
 
         //列出v3local所有文件路径
         File file = new File(v4localPath);
-        List<String> v3localFilePaths = FileUtils.list(file);
+        List<String> localFilePaths = FileUtils.list(file);
 
         HashMap<String, List<String>> map = new HashMap<>();
         map.put("ossFilePaths", ossFilePaths);
-        map.put("v4localFilePaths", v3localFilePaths);
+        map.put("localFilePaths", localFilePaths);
 
         return map;
     }