minio预签名过期时间单位设置

This commit is contained in:
2025-11-02 19:31:53 +08:00
parent 8783543308
commit 01761cbac7

View File

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