作者 lyh

ggx

... ... @@ -47,7 +47,12 @@ class LoginLogic extends BaseLogic
$this->fail('帐号已被禁用');
}
//查看当前账号下有几个项目
if($this->param['password'] == '123456' && $this->param['mobile'] != '13688158403'){
$data = [
'15680871314',
'18008059100',
'18328465854'
];
if($this->param['password'] == '123456' && !in_array($this->param['mobile'],$data)){
$this->fail('请使用短信登录,修改初始密码');
}
$type = 1;//账号密码登录
... ...