|
|
@ -43,7 +43,7 @@ |
|
|
|
$Type = empty($this->POST['Type'])||!isset($this->POST['Type'])? Tool_Fnc::apiMsg('选择人员类型', '500'):Tool_fnc::safe_string($this->POST['Type']); |
|
|
|
$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(); |
|
|
|
$Userinfo = $this->Usermodel->field('*')->where("username='{$Username}' and type={$Type}")->fRow(); |
|
|
|
if($Userinfo['is_delete']==0){ |
|
|
|
if($Userinfo['is_delete']==0){ |
|
|
|
Tool_Fnc::apiMsg('试用结束,请续费', '500') |
|
|
|
Tool_Fnc::apiMsg('试用结束,请续费', '500'); |
|
|
|
} |
|
|
|
} |
|
|
|
empty($Userinfo)?Tool_Fnc::apiMsg('账号密码错误', '500'):$Userinfo; |
|
|
|
empty($Userinfo)?Tool_Fnc::apiMsg('账号密码错误', '500'):$Userinfo; |
|
|
|
$Userinfo['password']!=md5($Password.Yaf_Registry::get("config")->psd->default->appsecret)?Tool_Fnc::apiMsg('账号密码错误', '500'):$Userinfo['password']; |
|
|
|
$Userinfo['password']!=md5($Password.Yaf_Registry::get("config")->psd->default->appsecret)?Tool_Fnc::apiMsg('账号密码错误', '500'):$Userinfo['password']; |
|
|
|