更新细节
This commit is contained in:
parent
9567d41fc9
commit
ea93a4d57b
|
@ -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 = [
|
||||
|
|
Loading…
Reference in New Issue