feat: 1:资源列表批量下载优化,可以下载为zip

2:添加删除某个图片或者视频功能
This commit is contained in:
2025-11-06 19:28:10 +08:00
parent cb66f9f7e1
commit 51bc53b1bf
4 changed files with 176 additions and 96 deletions
@@ -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");
}
}