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

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