fix: 修复文件列表为空时的返回值处理并添加图像处理相关依赖

This commit is contained in:
Megghy
2025-09-29 13:41:32 +08:00
parent 7abe753401
commit 360cc79e18
12 changed files with 1913 additions and 0 deletions

View File

@@ -109,6 +109,10 @@ namespace MegghysAPI.Core
.WithIncludeUserMetadata(includeUserMetadata));
var fileList = new List<Minio.DataModel.Item>();
if(fileList.Count == 0)
{
return [];
}
await foreach (var item in result)
{
fileList.Add(item);