...
|
...
|
@@ -83,7 +83,8 @@ class LoginController extends HomeBaseController |
|
|
|
|
|
if($res){
|
|
|
|
|
|
if (($res['user_type'] == '2' and $res['student_type'] != '1') or ($res['user_type'] == '2' and $res['user_status'] != '1') or $res['delete_time'] != '0'){
|
|
|
//学员未支付 学员被删除 不可以登录
|
|
|
if (($res['user_type'] == '2' and $res['student_type'] != '1') or $res['delete_time'] != '0'){
|
|
|
return json(['code'=>'0','msg'=>'抱歉,此用户没有权限登录']);
|
|
|
}
|
|
|
|
...
|
...
|
|