fix :user info

This commit is contained in:
2025-01-03 16:55:04 +08:00
parent 7ba9106712
commit 0895955973

View File

@@ -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,