fix 修复 新版上传未设置acl问题
This commit is contained in:
parent
475b169952
commit
903d810edc
@ -223,6 +223,7 @@ public class OssClient {
|
|||||||
y -> y.bucket(properties.getBucketName())
|
y -> y.bucket(properties.getBucketName())
|
||||||
.key(key)
|
.key(key)
|
||||||
.contentType(contentType)
|
.contentType(contentType)
|
||||||
|
.acl(getAccessPolicy().getObjectCannedACL())
|
||||||
.build())
|
.build())
|
||||||
.build());
|
.build());
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user