示例#1
0
        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));
        }
示例#2
0
 public virtual async Task <OssObjectDto> GetAsync(GetOssObjectInput input)
 {
     return(await OssObjectAppService.GetAsync(input));
 }
示例#3
0
 public virtual async Task DeleteAsync(GetOssObjectInput input)
 {
     await OssObjectAppService.DeleteAsync(input);
 }
示例#4
0
        public virtual async Task DeleteAsync(GetOssObjectInput input)
        {
            var oss = CreateOssContainer();

            await oss.DeleteObjectAsync(input.Bucket, input.Object, input.Path);
        }