Browse Source

fix(oss): Fixed ImageResizeArgs

- 适配参数数据类型变更
pull/1416/head
colin 4 weeks ago
parent
commit
8b3b043967
  1. 4
      aspnet-core/modules/oss-management/LINGYUN.Abp.OssManagement.Imaging/LINGYUN/Abp/OssManagement/Imaging/AbpImagingProcesserContributor.cs

4
aspnet-core/modules/oss-management/LINGYUN.Abp.OssManagement.Imaging/LINGYUN/Abp/OssManagement/Imaging/AbpImagingProcesserContributor.cs

@ -64,8 +64,8 @@ public class AbpImagingProcesserContributor : IOssObjectProcesserContributor
!height.IsNullOrWhiteSpace())
{
resizeArgs = new ImageResizeArgs(
int.Parse(width),
int.Parse(height));
uint.Parse(width),
uint.Parse(height));
return true;
}
resizeArgs = null;

Loading…
Cancel
Save