public OssUploadResult upload(MultipartFile file, ObjectMetadata metadata) throws IOException {
String fileName = fileNameBuilder.build(file.getOriginalFilename());
OssFile ossFile = ossUpload(pathBuilder.build() + fileName, file.getInputStream(), metadata);
ossFile.setName(fileName);
ossFile.setOriginalName(file.getOriginalFilename());
return new OssUploadResult(ossFile.geteTag() == null ? Constant.FAILURE : Constant.SUCCESS, ossFile);
}