main
黄海 9 months ago
parent b843ec5baf
commit b24a70693e

@ -66,7 +66,7 @@ public class MinioUtils {
// 生成带有签名的URL // 生成带有签名的URL
String url = getMinioClient().getPresignedObjectUrl( String url = getMinioClient().getPresignedObjectUrl(
GetPresignedObjectUrlArgs.builder() GetPresignedObjectUrlArgs.builder()
.method(Method.GET) .method(Method.PUT)
.bucket(bucketName) .bucket(bucketName)
.object(objectName) .object(objectName)
.expiry(expiresDuration) .expiry(expiresDuration)

Loading…
Cancel
Save