整理影像缩略图 和获取影像路径
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user