refactor: 关闭存储桶创建

This commit is contained in:
ray
2024-08-15 22:14:06 +08:00
parent 6c6a4c6e34
commit ab4b3d0d25

View File

@@ -69,7 +69,7 @@ public class MinioOssService implements OssService {
.credentials(accessKey, secretKey)
.build();
// 创建存储桶
createBucketIfAbsent(bucketName);
// createBucketIfAbsent(bucketName);
}
@@ -82,8 +82,6 @@ public class MinioOssService implements OssService {
@Override
public FileInfo uploadFile(MultipartFile file) {
// 生成文件名(日期文件夹)
String suffix = FileUtil.getSuffix(file.getOriginalFilename());
String uuid = IdUtil.simpleUUID();