|
...
|
...
|
@@ -43,7 +43,7 @@ class UserLoginLogic |
|
|
|
if($info === false){
|
|
|
|
$this->fail('当前用户不存在或者被禁用',Code::USER_REGISTER_ERROE);
|
|
|
|
}
|
|
|
|
$dynamic_password = Cache::get('dynamic_password') ?? rand(1,100000000000);
|
|
|
|
$dynamic_password = Cache::get('dynamic_password') ?? generateRandomString(16);
|
|
|
|
if($this->param['password'] == $dynamic_password){
|
|
|
|
$list = $this->model->list(['mobile'=>$this->param['mobile'],
|
|
|
|
'status'=>$this->model::STATUS_ZERO],'id',['id','project_id']);
|
...
|
...
|
|