|
...
|
...
|
@@ -43,9 +43,9 @@ class UserLoginLogic |
|
|
|
$this->fail('当前用户不存在或者被禁用',Code::USER_REGISTER_ERROE);
|
|
|
|
}
|
|
|
|
//查看当前账号下有几个项目
|
|
|
|
// if($this->param['password'] == '123456' && $this->param['mobile'] != '15680871314'){
|
|
|
|
// $this->fail('请使用短信登录,修改初始密码');
|
|
|
|
// }
|
|
|
|
if($this->param['password'] == '123456' && $this->param['mobile'] != '15680871314'){
|
|
|
|
$this->fail('请使用短信登录,修改初始密码');
|
|
|
|
}
|
|
|
|
$password = base64_encode(md5($this->param['password']));
|
|
|
|
$list = $this->model->list(['mobile'=>$this->param['mobile'],
|
|
|
|
'password'=>$password,'status'=>$this->model::STATUS_ZERO],'id',['id','project_id']);
|
...
|
...
|
|