no commit message
This commit is contained in:
@@ -26,7 +26,7 @@ class loginClassModel extends Model
|
||||
$yanzm = $this->rock->request('yanzm');//验证码
|
||||
$ltype = (int)$this->rock->request('ltype',0);//登录类型,1是手机+验证码
|
||||
if(!isempt($yanzm) && strlen($yanzm)!=6)return '验证码必须是6位数字';
|
||||
$cfroar= explode(',', 'pc,reim,weixin,appandroid,mweb,webapp,nppandroid,nppios,nppiosnew');
|
||||
$cfroar= explode(',', 'pc,reim,weixin,appandroid,mweb,webapp,nppandroid,nppios,nppiosnew,androidapp');
|
||||
if(!in_array($cfrom, $cfroar))return 'not found cfrom['.$cfrom.']';
|
||||
if($user=='')return '用户名不能为空';
|
||||
if($pass==''&&strlen($token)<8 && $ltype==0)return '密码不能为空';
|
||||
|
||||
Reference in New Issue
Block a user