|
|
@ -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)
|
|
|
|