public virtual async Task <OssObjectDto> GetAsync(GetOssObjectInput input) { var oss = CreateOssContainer(); var ossObject = await oss.GetObjectAsync(input.Bucket, input.Object, input.Path); return(ObjectMapper.Map <OssObject, OssObjectDto>(ossObject)); }
public virtual async Task <OssObjectDto> GetAsync(GetOssObjectInput input) { return(await OssObjectAppService.GetAsync(input)); }
public virtual async Task DeleteAsync(GetOssObjectInput input) { await OssObjectAppService.DeleteAsync(input); }
public virtual async Task DeleteAsync(GetOssObjectInput input) { var oss = CreateOssContainer(); await oss.DeleteObjectAsync(input.Bucket, input.Object, input.Path); }