fix: 如果用户尝试在其他账户登录就给他返回 您已登录
This commit is contained in:
parent
125c24b4fb
commit
af6e5f870b
|
@ -135,6 +135,8 @@ class TaskController
|
||||||
// $UserPhone->time = 0;
|
// $UserPhone->time = 0;
|
||||||
// $UserPhone->last_time = time();
|
// $UserPhone->last_time = time();
|
||||||
// $UserPhone->save();
|
// $UserPhone->save();
|
||||||
|
$GetLodeLog->delete();
|
||||||
|
return ApiResponseApp::error([], '您已登陆');
|
||||||
}
|
}
|
||||||
|
|
||||||
// 删除验证码日志记录
|
// 删除验证码日志记录
|
||||||
|
|
Loading…
Reference in New Issue