diff --git a/control/index.php b/control/index.php index 5a4e8be..82221c9 100644 --- a/control/index.php +++ b/control/index.php @@ -11,7 +11,7 @@ class index extends publicBase { private function _check_login() { $uid = $this->post('uid'); $token = $this->post('token'); - if (empty($uid) || empty($token)) $this->ajax_json(false, '参数错误', array('code' => CODE_LOGIN_PARAM_ERROR)); + if (empty($uid) || empty($token)) $this->ajax_json(false, '参数错误', array('code' => CODE_LOGIN_EXIPRE)); $m_user = new mUser(); $is_login = $m_user->validateToken($uid, $token);