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