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