Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wwwanlingxiao
mall
Commits
6f24d9b3
Commit
6f24d9b3
authored
Dec 09, 2022
by
macro
Browse files
Update MinioController.java
parent
36bbbe99
Changes
1
Hide whitespace changes
Inline
Side-by-side
mall-admin/src/main/java/com/macro/mall/controller/MinioController.java
View file @
6f24d9b3
...
...
@@ -85,6 +85,9 @@ public class MinioController {
return
CommonResult
.
failed
();
}
/**
* 创建存储桶的访问策略,设置为只读权限
*/
private
BucketPolicyConfigDto
createBucketPolicyConfigDto
(
String
bucketName
)
{
BucketPolicyConfigDto
.
Statement
statement
=
BucketPolicyConfigDto
.
Statement
.
builder
()
.
Effect
(
"Allow"
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment