mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
어플 로그인시 전화번호가 만약 회원정보에 없다면 로그인 실패메세지 출력
This commit is contained in:
parent
b9d952a401
commit
4309614bba
1 changed files with 8 additions and 1 deletions
|
|
@ -240,7 +240,14 @@ class Device extends \member
|
|||
}
|
||||
else
|
||||
{
|
||||
$user_id = $member_info->phone_number;
|
||||
if(isset($member_info->phone_number))
|
||||
{
|
||||
$user_id = $member_info->phone_number;
|
||||
}
|
||||
else
|
||||
{
|
||||
return new \BaseObject(-1, 'LOGIN_FAILED');
|
||||
}
|
||||
}
|
||||
$output = \memberController::getInstance()->doLogin($user_id);
|
||||
if(!$output->toBool())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue