|
@@ -392,7 +392,7 @@ public class DownloadServiceImpl implements IDownloadService {
|
|
|
}
|
|
|
}
|
|
|
List<ImageTypeDetail> imageTypeDetails = Collections.synchronizedList(items);
|
|
|
- synchronized(imageTypeDetails){
|
|
|
+// synchronized(imageTypeDetails){
|
|
|
imageTypeDetails.parallelStream().forEach(item->{
|
|
|
String par = "?x-oss-process=image/resize,m_lfit,w_" + imageType.getSize() + "/crop,w_512,h_512,x_" + item.getX() + ",y_" + item.getY();
|
|
|
// if(FYunTypeEnum.AWS.code().equals(uploadType)){
|
|
@@ -418,7 +418,7 @@ public class DownloadServiceImpl implements IDownloadService {
|
|
|
this.downloadFile(url, path + fky);
|
|
|
// this.downloadFile(url, path);
|
|
|
});
|
|
|
- }
|
|
|
+// }
|
|
|
}
|
|
|
|
|
|
}
|