From 17acd3818525f3f4f9757cbb6e0a6b0048fcad2e Mon Sep 17 00:00:00 2001 From: wangxinglong <2371974647@qq.com> Date: Fri, 10 Jun 2022 06:10:21 +0000 Subject: [PATCH] setter --- app/service/Jwt.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/service/Jwt.php b/app/service/Jwt.php index 1c047ac..2f201f7 100755 --- a/app/service/Jwt.php +++ b/app/service/Jwt.php @@ -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的一方