From 725b6c0fdec8058c17da5b70c6bfe4403ce0a485 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 15 Dec 2020 15:50:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HttpServer/Server.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HttpServer/Server.php b/HttpServer/Server.php index 01daf704..b90f4545 100644 --- a/HttpServer/Server.php +++ b/HttpServer/Server.php @@ -438,7 +438,7 @@ class Server extends Application $router->loadRouterSetting(); $attributes = Snowflake::app()->getAttributes(); - $attributes->readControllers(CONTROLLER_PATH, 'controllers'); + $attributes->readControllers(CONTROLLER_PATH, 'App\Http\Controllers', 'controllers'); $aliases = $attributes->getAlias('controllers'); foreach ($aliases as $alias) {