diff --git a/application/controllers/Api/Login.php b/application/controllers/Api/Login.php index c99bcb2..76ffa35 100644 --- a/application/controllers/Api/Login.php +++ b/application/controllers/Api/Login.php @@ -43,7 +43,7 @@ $Type = empty($this->POST['Type'])||!isset($this->POST['Type'])? Tool_Fnc::apiMsg('选择人员类型', '500'):Tool_fnc::safe_string($this->POST['Type']); $Userinfo = $this->Usermodel->field('*')->where("username='{$Username}' and type={$Type}")->fRow(); if($Userinfo['is_delete']==0){ - Tool_Fnc::apiMsg('试用结束,请续费', '500') + Tool_Fnc::apiMsg('试用结束,请续费', '500'); } empty($Userinfo)?Tool_Fnc::apiMsg('账号密码错误', '500'):$Userinfo; $Userinfo['password']!=md5($Password.Yaf_Registry::get("config")->psd->default->appsecret)?Tool_Fnc::apiMsg('账号密码错误', '500'):$Userinfo['password'];