diff --git a/library/think/App.php b/library/think/App.php index 7173c2fa..c3f71ecb 100644 --- a/library/think/App.php +++ b/library/think/App.php @@ -164,7 +164,7 @@ class App { if (empty($vars)) { // 自动获取请求变量 - $vars = Request::param(); + $vars = Request::instance()->param(); } if (is_array($method)) { $class = is_object($method[0]) ? $method[0] : new $method[0];