Commit 042711fd authored by hj's avatar hj

更新

parent 9fe900a3
...@@ -43,7 +43,7 @@ class AuthService ...@@ -43,7 +43,7 @@ class AuthService
throw new \Exception('token无效',500); throw new \Exception('token无效',500);
} }
$expTimestamp = strtotime(date('Y-m-d H:i:s', strtotime('+1hour'))); $expTimestamp = strtotime(date('Y-m-d H:i:s', strtotime('+1 day')));
$jwtToken = $this->generateToken($token); $jwtToken = $this->generateToken($token);
return [ return [
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment