master
wangxinglong 2022-06-10 06:10:21 +00:00
parent 692895a520
commit 17acd38185
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ use Lcobucci\JWT\Validation\Constraint\ValidAt;
class Jwt
{
private static $secret = 'lF9XkOMfpsR0ODVfbasY2HtDrIps8GIX';
private static $expire = 86400;//秒
private static $expire = 86400 * 3;//秒
private static $iss = 'dxtc';//jwt签发者
private static $sub = 'dxtc-customer';//jwt所面向的用户
private static $aud = 'dxtc-customer';//接受jwt的一方