refactor: 关闭存储桶创建
This commit is contained in:
1 parent
6c6a4c6e34
commit
ab4b3d0d25
1 file changed
+1
-3
@@ -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