This commit is contained in:
szdot 2024-06-05 16:54:26 +08:00
commit 54c61ca690

View File

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