diff --git a/library/think/App.php b/library/think/App.php index 4995dafc..b61804e6 100644 --- a/library/think/App.php +++ b/library/think/App.php @@ -78,8 +78,8 @@ class App // 未指定调度类型 则进行URL路由检测 self::route($config); } - // 记录调度信息 - Log::record('[ DISPATCH ] ' . var_export(self::$dispatch, true), 'info'); + // 记录路由信息 + Log::record('[ ROUTE ] ' . var_export(self::$dispatch, true), 'info'); // 监听app_begin APP_HOOK && Hook::listen('app_begin'); diff --git a/library/think/Route.php b/library/think/Route.php index f3ca05d6..5e041c69 100644 --- a/library/think/Route.php +++ b/library/think/Route.php @@ -419,6 +419,8 @@ class Route private static function checkUrlBind(&$url, &$rules) { if (!empty(self::$bind['type'])) { + // 记录绑定信息 + Log::record('[ BIND ] ' . var_export(self::$bind, true), 'info'); // 如果有URL绑定 则进行绑定检测 switch (self::$bind['type']) { case 'class':