Commit 83c45343 by 杨昕

修改上传视频的token的有效时长为24小时

parent 471e9595
Pipeline #9988 passed with stages
in 31 seconds
......@@ -77,7 +77,7 @@ final class QiniuModel
return "$baseUrl&token=$token";
}
public static function uploadToken($bucket="", $key = null, $expires = 3600, $policy = null, $strictPolicy = true)
public static function uploadToken($bucket="", $key = null, $expires = 3600 * 24, $policy = null, $strictPolicy = true)
{
$deadline = time() + $expires;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment