|
@@ -289,7 +289,7 @@ public class SceneDownloadHandlerServiceImpl {
|
|
|
}
|
|
|
|
|
|
//其他文件打包
|
|
|
- this.ProcessFiles(filePath, out, this.wwwroot, cacheKeys);
|
|
|
+ this.ProcessFiles(num, filePath, out, this.wwwroot, cacheKeys);
|
|
|
}
|
|
|
|
|
|
private void zipLocalFiles(ZipOutputStream out, List<String> v3localFilePaths, String v3localPath, String num, AtomicInteger count, int total) throws Exception{
|
|
@@ -444,10 +444,13 @@ public class SceneDownloadHandlerServiceImpl {
|
|
|
|
|
|
}
|
|
|
|
|
|
- public void ProcessFiles(String key, ZipOutputStream out, String prefix, Set<String> cacheKeys) throws Exception{
|
|
|
+ public void ProcessFiles(String num, String key, ZipOutputStream out, String prefix, Set<String> cacheKeys) throws Exception{
|
|
|
if(cacheKeys.contains(key)){
|
|
|
return;
|
|
|
}
|
|
|
+ if(key.equals(String.format(UploadFilePath.DATA_VIEW_PATH, num) + "scene.json")){
|
|
|
+ return;
|
|
|
+ }
|
|
|
cacheKeys.add(key);
|
|
|
String url = this.resourceUrl + key + "?t=" + Calendar.getInstance().getTimeInMillis();
|
|
|
if(key.contains("hot.json") || key.contains("link-scene.json")){
|