This commit is contained in:
mzl
2025-07-31 10:34:15 +08:00
parent 9d81c23e8a
commit e10d167aec
+3 -1
View File
@@ -93,7 +93,7 @@ class AuthLogic
->orWhere('email', $email);
})
->first();
$user->isLogin = true;
if (!$user) {
// 获取编号
$userSn = $this->getAvailableUserSn();
@@ -133,6 +133,8 @@ class AuthLogic
}
// 更新飞书信息
$user->update($updated);
// 是否登陆
$user->isLogin = true;
}
return $user;
} catch (\Throwable $e) {