Skip to content

Commit

Permalink
feat : a
Browse files Browse the repository at this point in the history
  • Loading branch information
qizhenxin committed Apr 12, 2024
1 parent 2e94b68 commit b43f528
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public R<Map<String, String>> policy() {
// 创建ossClient实例。
OSS ossClient = new OSSClientBuilder().build(endpoint, accessId, accessKey);
try {
long expireTime = 30;
long expireTime = 300;
long expireEndTime = System.currentTimeMillis() + expireTime * 1000;
Date expiration = new Date(expireEndTime);
PolicyConditions policyConds = new PolicyConditions();
Expand Down

0 comments on commit b43f528

Please sign in to comment.