|
@@ -204,7 +204,7 @@ public class DownloadServiceImpl implements IDownloadService {
|
|
private void zipOssFiles(String num, String resolution, int imagesVersion, Set<String> cacheKeys, String version) throws Exception{
|
|
private void zipOssFiles(String num, String resolution, int imagesVersion, Set<String> cacheKeys, String version) throws Exception{
|
|
|
|
|
|
// fYunFileService.downloadFileByCommand(String.format(sourceLocal, num, this.wwwroot), String.format(UploadFilePath.VIEW_PATH, num));
|
|
// fYunFileService.downloadFileByCommand(String.format(sourceLocal, num, this.wwwroot), String.format(UploadFilePath.VIEW_PATH, num));
|
|
- final List<String> strings = fYunFileService.listRemoteFiles(String.format(UploadFilePath.VIEW_PATH, num));
|
|
|
|
|
|
+ List<String> strings = fYunFileService.listRemoteFiles(String.format(UploadFilePath.VIEW_PATH, num));
|
|
strings.stream().forEach(str->{
|
|
strings.stream().forEach(str->{
|
|
fYunFileService.downloadFile(str, String.format(sourceLocal, num, this.wwwroot).concat(str));
|
|
fYunFileService.downloadFile(str, String.format(sourceLocal, num, this.wwwroot).concat(str));
|
|
});
|
|
});
|