From 79470a8b3c4cc5e174680fad4d548f4f0269f4b8 Mon Sep 17 00:00:00 2001 From: liyukun <1099438829@qq.com> Date: Thu, 15 Jul 2021 12:52:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/taglib/Zz.php | 8 -------- app/common/validate/Adminaction.php | 8 -------- app/common/validate/Adminactionlog.php | 8 -------- app/index/controller/Article.php | 8 -------- app/index/controller/Base.php | 1 - app/index/controller/Index.php | 8 -------- app/index/controller/Messageform.php | 8 -------- config/app.php | 2 +- config/route.php | 2 +- 9 files changed, 2 insertions(+), 51 deletions(-) diff --git a/app/common/taglib/Zz.php b/app/common/taglib/Zz.php index d245c92..af7845a 100644 --- a/app/common/taglib/Zz.php +++ b/app/common/taglib/Zz.php @@ -1,12 +1,4 @@ true, // 应用映射(自动多应用模式有效) - 'app_map' => ['*'=>'', 'api'=>'api', 'admin'=>'admin', 'index'=>'index'], + 'app_map' => ['*'=>'', 'admin'=>'admin', 'index'=>'index'], // 域名绑定(自动多应用模式有效) 'domain_bind' => [], // 禁止URL访问的应用列表(自动多应用模式有效) diff --git a/config/route.php b/config/route.php index f04b600..955eeec 100644 --- a/config/route.php +++ b/config/route.php @@ -13,7 +13,7 @@ return [ // 是否开启路由延迟解析 'url_lazy_route' => false, // 是否强制使用路由 - 'url_route_must' => true, + 'url_route_must' => false, // 合并路由规则 'route_rule_merge' => false, // 路由是否完全匹配