[重大更新] 升级 awsS3 到2.X版本 支持异步与自动分片上传下载

This commit is contained in:
疯狂的狮子Li
2024-01-14 21:20:00 +08:00
parent 2417517aee
commit 348bd00fa3
7 changed files with 545 additions and 174 deletions

View File

@ -138,7 +138,7 @@ public class SysOssServiceImpl implements ISysOssService, OssService {
OssClient storage = OssFactory.instance();
UploadResult uploadResult;
try {
uploadResult = storage.uploadSuffix(file.getBytes(), suffix, file.getContentType());
uploadResult = storage.uploadSuffix(file.getBytes(), suffix);
} catch (IOException e) {
throw new ServiceException(e.getMessage());
}