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, // 路由是否完全匹配