Parcourir la source

Update MinioController.java

macro il y a 2 ans
Parent
commit
6f24d9b3e0

+ 3 - 0
mall-admin/src/main/java/com/macro/mall/controller/MinioController.java

@@ -85,6 +85,9 @@ public class MinioController {
         return CommonResult.failed();
     }
 
+    /**
+     * 创建存储桶的访问策略,设置为只读权限
+     */
     private BucketPolicyConfigDto createBucketPolicyConfigDto(String bucketName) {
         BucketPolicyConfigDto.Statement statement = BucketPolicyConfigDto.Statement.builder()
                 .Effect("Allow")