From e37ffd5c70902e46eb531e031af6e2a8d9f42328 Mon Sep 17 00:00:00 2001 From: tsf <460834639@qq.com> Date: Fri, 26 Apr 2024 10:28:20 +0800 Subject: [PATCH] 1 --- application/app/controller/Download.php | 1 + application/config.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/application/app/controller/Download.php b/application/app/controller/Download.php index 6b59305..cd68c7a 100644 --- a/application/app/controller/Download.php +++ b/application/app/controller/Download.php @@ -4,6 +4,7 @@ namespace app\app\controller; use think\Controller; + class Download extends Controller{ public function demo(){ echo '你好'; diff --git a/application/config.php b/application/config.php index 53fc153..85f09a0 100644 --- a/application/config.php +++ b/application/config.php @@ -87,7 +87,7 @@ return [ // URL参数方式 0 按名称成对解析 1 按顺序解析 'url_param_type' => 0, // 是否开启路由 - 'url_route_on' => true, + 'url_route_on' => false, // 路由使用完整匹配 'route_complete_match' => false, // 路由配置文件(支持配置多个)