...
|
...
|
@@ -137,7 +137,7 @@ class PublicController extends RestBaseController |
|
|
if (empty($re['mobile'])){
|
|
|
$this->success(['msg'=>'请先手机号注册!','code'=>'40001'], ['token' => $token]);
|
|
|
}
|
|
|
if ($re['status']!=1){
|
|
|
if ($re['user_status']!=1){
|
|
|
$this->success(['msg'=>'请先填写用户信息!','code'=>'40002'], ['token' => $token]);
|
|
|
}
|
|
|
$this->success("登录成功!", ['token' => $token]);
|
...
|
...
|
@@ -176,7 +176,7 @@ class PublicController extends RestBaseController |
|
|
if (empty($re['mobile'])){
|
|
|
$this->success(['msg'=>'请先手机号注册!','code'=>'40001'], ['token' => $token]);
|
|
|
}
|
|
|
if ($re['status']!=1){
|
|
|
if ($re['user_status']!=1){
|
|
|
$this->success(['msg'=>'请先填写用户信息!','code'=>'40002'], ['token' => $token]);
|
|
|
}
|
|
|
$this->success("登陆成功!", ['token' => $token]);
|
...
|
...
|
|