From ca8bd175212656167188eb958c90cd8e3470a06a Mon Sep 17 00:00:00 2001 From: Anyon Date: Tue, 7 Feb 2017 03:08:14 -0500 Subject: [PATCH] =?UTF-8?q?=E6=B8=85=E7=A9=BA=E9=BB=98=E8=AE=A4=E8=B7=AF?= =?UTF-8?q?=E7=94=B1=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/route.php | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/config/route.php b/config/route.php index f648d3b4e..a95382f27 100644 --- a/config/route.php +++ b/config/route.php @@ -9,13 +9,4 @@ // | Author: liu21st // +---------------------------------------------------------------------- -return [ - '__pattern__' => [ - 'name' => '\w+', - ], - '[hello]' => [ - ':id' => ['index/hello', ['method' => 'get'], ['id' => '\d+']], - ':name' => ['index/hello', ['method' => 'post']], - ], - -]; +return [];