Browse Source

更改用户登录过期时间

whitefang 1 year ago
parent
commit
d592f06be4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      config/project.php

+ 1 - 1
config/project.php

@@ -39,7 +39,7 @@ return [
 
 
     // 商城用户token(登录令牌)配置
     // 商城用户token(登录令牌)配置
     'user_token' => [
     'user_token' => [
-        'expire_duration' => 3600 * 8,//用户token过期时长(单位秒)
+        'expire_duration' => 3600 * 24 * 7,//用户token过期时长(单位秒)
         'be_expire_duration' => 3600,//用户token临时过期前时长,自动续期
         'be_expire_duration' => 3600,//用户token临时过期前时长,自动续期
     ],
     ],