yangsai@163.com 8 months ago
parent 29e151bba8
commit e4c11fb2d5
  1. 1
      application/controllers/Admin/Login.php

@ -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);
}

Loading…
Cancel
Save