diff --git a/control/index.php b/control/index.php index e7c630e..154a5c8 100644 --- a/control/index.php +++ b/control/index.php @@ -193,7 +193,7 @@ class index extends publicBase { $this->ajax_json(true, '登录成功', array('uid' => $user['uid'], 'identifier' => $user['identifier'], 'token' => $token)); } - public function get_user() { + public function ajax_get_user() { $uid = $this->post('uid'); $token = $this->post('token'); if (empty($uid) || empty($token)) $this->ajax_json(false, '未登录或登录已经失效', array('code' => CODE_LOGIN_EXIPRE));