Parcourir la source

四川日报压缩包推送

dengsixing il y a 9 mois
Parent
commit
ec7146b8a3

+ 7 - 0
src/main/java/com/fdkankan/external/service/impl/ScrbServiceImpl.java

@@ -96,6 +96,13 @@ public class ScrbServiceImpl implements IScrbService {
             fYunFileService.downloadFile(key, sourcePath + key);
         });
 
+        //下载cache/images/
+        String editDataPath = "scene_result_data/" + num + "/data/";
+        keys = fYunFileService.listRemoteFiles(editDataPath);
+        keys.stream().forEach(key->{
+            fYunFileService.downloadFile(key, sourcePath + key);
+        });
+
         //打包并上传到obs
         File zip = ZipUtil.zip(sourcePath, zipPath);
         if(!zip.exists()){