From 441b482594b4053fdb83771e82e65f05a4399a10 Mon Sep 17 00:00:00 2001 From: lilwil Date: Thu, 30 Jun 2016 10:08:28 +0800 Subject: [PATCH] =?UTF-8?q?Request=E6=B3=A8=E5=85=A5=E6=96=B9=E6=B3=95?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=E5=80=BC=20(#180)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/Request.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/think/Request.php b/library/think/Request.php index 8d5e9ad4..355e84fd 100644 --- a/library/think/Request.php +++ b/library/think/Request.php @@ -135,7 +135,7 @@ class Request { if (array_key_exists($method, self::$hook)) { array_unshift($args, $this); - call_user_func_array(self::$hook[$method], $args); + return call_user_func_array(self::$hook[$method], $args); } else { throw new Exception('method not exists:' . __CLASS__ . '->' . $method); }