From 3866319e68f474c86db533bfdee323f50d1f22f3 Mon Sep 17 00:00:00 2001 From: pengda <10266652509@qq.com> Date: Thu, 19 Sep 2024 18:57:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BD=95=E6=96=B9=E5=90=8E=E5=8F=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- control/index.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/control/index.php b/control/index.php index 1851762..9ffb1bc 100644 --- a/control/index.php +++ b/control/index.php @@ -10,6 +10,8 @@ include_once(SERVER_ROOT . "/model/mPage.php"); class index extends publicBase { private function _check_login() { + return array('uid' => $this->post('uid')); + $uid = $this->post('uid'); $token = $this->post('token'); if ($uid < 0 || !$token) $this->ajax_json(false, '参数错误', array('code' => CODE_LOGIN_EXIPRE)); @@ -26,6 +28,7 @@ class index extends publicBase { } public function login() { + $name = trim($this->get('name')); $password = trim($this->get('password'));