From ae001252b0178f788ae6b932f18708da5786c12f Mon Sep 17 00:00:00 2001 From: GiveMePast <1248298477@qq.com> Date: Tue, 26 May 2026 14:48:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/app.php | 1 + config/route.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config/app.php b/config/app.php index 63285d2..24451e2 100644 --- a/config/app.php +++ b/config/app.php @@ -13,6 +13,7 @@ return [ // 默认时区 'default_timezone' => 'Asia/Shanghai', + 'auto_multi_app' => true, // 应用映射(自动多应用模式有效) 'app_map' => [], // 域名绑定(自动多应用模式有效) diff --git a/config/route.php b/config/route.php index 729d7be..5f2b43a 100644 --- a/config/route.php +++ b/config/route.php @@ -23,7 +23,7 @@ return [ // 默认的路由变量规则 'default_route_pattern' => '[\w\.]+', // URL伪静态后缀 - 'url_html_suffix' => 'html', + 'url_html_suffix' => '', // 访问控制器层名称 'controller_layer' => 'controller', // 空控制器名