更新细节

This commit is contained in:
yaooo 2023-11-20 13:58:42 +08:00
parent 9567d41fc9
commit ea93a4d57b
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ class JwtTokenService
'uid' => $id,
'phone' => $userinfo['phone'],
'avatar' => $userinfo['avatar'],
'nickname' => $userinfo['nick_name']
'nickname' => $userinfo['nickname']
];
$token = JWT::encode($params, env('app.app_key', '123456'), 'HS256');
$tokenInfo = [