...
|
...
|
@@ -157,7 +157,6 @@ class User extends Api |
|
|
$return['user_info'] = $this->auth->getUserinfo();
|
|
|
} else {
|
|
|
if(!empty($mobile)){
|
|
|
$return['123'] = '123';
|
|
|
$this->register($openid,empty($mobile)?'':$mobile);
|
|
|
$return['user_info'] = $this->auth->getUserinfo();
|
|
|
}else{
|
...
|
...
|
@@ -167,7 +166,6 @@ class User extends Api |
|
|
|
|
|
|
|
|
$return['session'] = $session;
|
|
|
$return['mobile'] = $mobile;
|
|
|
|
|
|
$this->success('Logged in successful', $return);
|
|
|
}
|
...
|
...
|
|