|
|
@@ -85,7 +85,11 @@ class LoginLogic extends BaseLogic
|
|
|
|
|
|
$user = MasterWorker::where($where)->findOrEmpty();
|
|
|
if ($user->isEmpty()) {
|
|
|
- throw new \Exception('用户不存在');
|
|
|
+ $worker_register = MasterWorkerRegister::where('mobile',$params['account'])->findOrEmpty();
|
|
|
+ if(!$worker_register->isEmpty() && $worker_register->status==0){
|
|
|
+ throw new \Exception('您的入驻信息正在审核中,客服将在1-2个工作日内联系您进行入驻操作');
|
|
|
+ }
|
|
|
+ throw new \Exception('请点击下方的工程师入驻');
|
|
|
}
|
|
|
|
|
|
//更新登录信息
|