目录结构调整
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user