正在显示
1 个修改的文件
包含
3 行增加
和
3 行删除
| @@ -43,9 +43,9 @@ class UserLoginLogic | @@ -43,9 +43,9 @@ class UserLoginLogic | ||
| 43 | $this->fail('当前用户不存在或者被禁用',Code::USER_REGISTER_ERROE); | 43 | $this->fail('当前用户不存在或者被禁用',Code::USER_REGISTER_ERROE); |
| 44 | } | 44 | } |
| 45 | //查看当前账号下有几个项目 | 45 | //查看当前账号下有几个项目 |
| 46 | - if($this->param['password'] == '123456' && $this->param['mobile'] != '15680871314'){ | ||
| 47 | - $this->fail('请使用短信登录,修改初始密码'); | ||
| 48 | - } | 46 | +// if($this->param['password'] == '123456' && $this->param['mobile'] != '15680871314'){ |
| 47 | +// $this->fail('请使用短信登录,修改初始密码'); | ||
| 48 | +// } | ||
| 49 | $password = base64_encode(md5($this->param['password'])); | 49 | $password = base64_encode(md5($this->param['password'])); |
| 50 | $list = $this->model->list(['mobile'=>$this->param['mobile'], | 50 | $list = $this->model->list(['mobile'=>$this->param['mobile'], |
| 51 | 'password'=>$password,'status'=>$this->model::STATUS_ZERO],'id',['id','project_id']); | 51 | 'password'=>$password,'status'=>$this->model::STATUS_ZERO],'id',['id','project_id']); |
-
请 注册 或 登录 后发表评论