From ba70d57b8d544e68f4049d11c895efe02082cc46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Wed, 15 Sep 2021 16:52:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/app.php | 2 -- config/route.php | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/app.php b/config/app.php index 9770c719a..b8d1ad2c7 100644 --- a/config/app.php +++ b/config/app.php @@ -23,8 +23,6 @@ return [ 'with_route' => true, // 超级用户账号 'super_user' => 'admin', - // 默认应用 - 'default_app' => 'index', // 默认时区 'default_timezone' => 'Asia/Shanghai', // 应用映射(自动多应用模式有效) diff --git a/config/route.php b/config/route.php index fad81ac6f..fa3574f6f 100644 --- a/config/route.php +++ b/config/route.php @@ -43,6 +43,8 @@ return [ 'request_cache_expire' => null, // 全局请求缓存排除规则 'request_cache_except' => [], + // 默认应用 + 'default_app' => 'index', // 默认控制器名 'default_controller' => 'Index', // 默认操作名