From 5ba10b24ca6ab6e1e73a45b842b60dfc068caa89 Mon Sep 17 00:00:00 2001 From: Anyon Date: Wed, 9 Dec 2020 18:02:48 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=9B=B4=E6=96=B0]=E4=BF=AE=E6=94=B9=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E8=B7=AF=E7=94=B1=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/route.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/route.php b/config/route.php index 594abdc56..630654292 100644 --- a/config/route.php +++ b/config/route.php @@ -25,9 +25,9 @@ return [ // 是否强制使用路由 'url_route_must' => false, // 合并路由规则 - 'route_rule_merge' => false, + 'route_rule_merge' => true, // 路由是否完全匹配 - 'route_complete_match' => false, + 'route_complete_match' => true, // 访问控制器层名称 'controller_layer' => 'controller', // 空控制器名