作者 xiaohu thinkpad

登录处理

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