fix :user info
This commit is contained in:
@@ -73,7 +73,7 @@ class LoginService extends BaseService
|
|||||||
|
|
||||||
if (!$userInfo->save()) throw new ErrException('登录失败');
|
if (!$userInfo->save()) throw new ErrException('登录失败');
|
||||||
|
|
||||||
$cityId = $this->getCityById($userInfo->id);
|
$cityId = $userInfo->city_id;
|
||||||
//生成 token
|
//生成 token
|
||||||
$token = $this->cryptoFactory->cryptoClass('admin-jwt',json_encode([
|
$token = $this->cryptoFactory->cryptoClass('admin-jwt',json_encode([
|
||||||
'id' => $userInfo->id,
|
'id' => $userInfo->id,
|
||||||
|
|||||||
Reference in New Issue
Block a user