|
@@ -586,6 +586,10 @@ public class SceneDownloadHandlerServiceImpl {
|
|
|
}
|
|
|
for (ImageType imageType : imageTypes) {
|
|
|
|
|
|
+ if(imageType.getName().equals("4k_face") && !"4k".equals(resolution)){
|
|
|
+ continue;
|
|
|
+ }
|
|
|
+
|
|
|
List<ImageTypeDetail> items = Lists.newArrayList();
|
|
|
String[] ranges = imageType.getRanges();
|
|
|
for(int i = 0; i < ranges.length; i++){
|
|
@@ -624,11 +628,7 @@ public class SceneDownloadHandlerServiceImpl {
|
|
|
}
|
|
|
imgKeys.add(fky);
|
|
|
// HttpUtil.downloadFile(url, String.format(sourceLocal, sceneNum, this.wwwroot + fky));
|
|
|
- try {
|
|
|
- this.downloadFile(url, String.format(sourceLocal, sceneNum, this.wwwroot + fky));
|
|
|
- }catch (Exception e){
|
|
|
- log.info("切图失败,url:{}", url);
|
|
|
- }
|
|
|
+ this.downloadFile(url, String.format(sourceLocal, sceneNum, this.wwwroot + fky));
|
|
|
}
|
|
|
|
|
|
}
|