fix 修复 新版上传未设置acl问题

This commit is contained in:
疯狂的狮子Li 2024-06-21 12:34:50 +08:00
parent 475b169952
commit 903d810edc

View File

@ -223,6 +223,7 @@ public class OssClient {
y -> y.bucket(properties.getBucketName())
.key(key)
.contentType(contentType)
.acl(getAccessPolicy().getObjectCannedACL())
.build())
.build());