更新细节
This commit is contained in:
parent
9567d41fc9
commit
ea93a4d57b
|
@ -48,7 +48,7 @@ class JwtTokenService
|
||||||
'uid' => $id,
|
'uid' => $id,
|
||||||
'phone' => $userinfo['phone'],
|
'phone' => $userinfo['phone'],
|
||||||
'avatar' => $userinfo['avatar'],
|
'avatar' => $userinfo['avatar'],
|
||||||
'nickname' => $userinfo['nick_name']
|
'nickname' => $userinfo['nickname']
|
||||||
];
|
];
|
||||||
$token = JWT::encode($params, env('app.app_key', '123456'), 'HS256');
|
$token = JWT::encode($params, env('app.app_key', '123456'), 'HS256');
|
||||||
$tokenInfo = [
|
$tokenInfo = [
|
||||||
|
|
Loading…
Reference in New Issue