minio预签名过期时间单位设置
This commit is contained in:
@@ -353,7 +353,7 @@ public class MinioUtil {
|
|||||||
.method(Method.GET)
|
.method(Method.GET)
|
||||||
.bucket(bucketName)
|
.bucket(bucketName)
|
||||||
.object(objectName)
|
.object(objectName)
|
||||||
.expiry(expires, TimeUnit.MINUTES)
|
.expiry(expires, TimeUnit.SECONDS)
|
||||||
.build()
|
.build()
|
||||||
);
|
);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user