This commit is contained in:
szdot 2024-06-05 15:18:11 +08:00
commit 6d73396a27

View File

@ -80,7 +80,7 @@ class PublicController extends Controller
'iat' => $currtime, // 签发时间(时间戳)
'iss' => 'jwt_admin', // 签发者
'nbf' => $currtime, // 在此时间之前不可用 (这里是2秒以内)
'exp' => 60, //过期时间 到第二天凌晨
'exp' => 20, //过期时间 到第二天凌晨
'openid' => $openid,
'session_key' => $session_key,
];