feat: 1:资源列表批量下载优化,可以下载为zip
2:添加删除某个图片或者视频功能
This commit is contained in:
+2
-2
@@ -230,7 +230,7 @@ public class TimeWindowStorageService {
|
||||
// 冷数据:S3优先,失败降级到OSS
|
||||
String s3Url = queryDownLoadFromS3(fileInfo);
|
||||
if (s3Url != null && !s3Url.isEmpty()) {
|
||||
return s3Url;
|
||||
return applyCdnAcceleration(s3Url, "S3");
|
||||
}
|
||||
String ossUrl = queryDownLoadFromOss(fileInfo);
|
||||
return applyCdnAcceleration(ossUrl, "OSS");
|
||||
@@ -241,7 +241,7 @@ public class TimeWindowStorageService {
|
||||
return applyCdnAcceleration(ossUrl, "OSS");
|
||||
}
|
||||
String s3Url = queryDownLoadFromS3(fileInfo);
|
||||
return s3Url;
|
||||
return applyCdnAcceleration(s3Url, "S3");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user