refactor: 关闭存储桶创建
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user