|
|
|
@ -12,7 +12,6 @@ class Admin_LoginController extends Ctrl_Admin{ |
|
|
|
|
$pPasswd = empty($REQUEST['password'])?Tool_Fnc::ajaxMsg('密码不能为空'):trim($REQUEST['password']); |
|
|
|
|
$pName = empty($REQUEST['username'])?Tool_Fnc::ajaxMsg('用户名不能为空'):Tool_Fnc::safe_string($REQUEST['username']); |
|
|
|
|
$AdminInfo = $tAMO->field("*")->where("admin_username='{$pName}'")->fRow(); |
|
|
|
|
print_r($AdminInfo);die; |
|
|
|
|
if (empty($AdminInfo)) { |
|
|
|
|
Tool_Fnc::apiMsg('用户名或密码错误',500); |
|
|
|
|
} |
|
|
|
|