整理影像缩略图 和获取影像路径

This commit is contained in:
2022-06-01 17:00:24 +08:00
parent d8f505f705
commit ec179543fe
11 changed files with 128 additions and 109 deletions
@@ -864,7 +864,7 @@ namespace IRaCIS.Core.API.Controllers
if (!System.IO.File.Exists(storePreviewPath))
{
ImageResizeHelper.ResizeSave(_fileStorePath, storePreviewPath);
ImageHelper.ResizeSave(_fileStorePath, storePreviewPath);
}
return new FileContentResult(await System.IO.File.ReadAllBytesAsync(storePreviewPath), "image/jpeg");