From e07bb1a6fd98e44606ba99dd54f0fba2d70949c3 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Fri, 27 May 2016 12:12:06 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=A7=E7=BB=AD=E6=94=B9=E8=BF=9BRoute?= =?UTF-8?q?=E7=B1=BB=E7=9A=84=E5=88=86=E7=BB=84=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/Route.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/think/Route.php b/library/think/Route.php index 35fe02cc..a4fd5c76 100644 --- a/library/think/Route.php +++ b/library/think/Route.php @@ -210,7 +210,7 @@ class Route $result = ['route' => $val, 'option' => $option, 'pattern' => $pattern]; } if ($group) { - self::$rules[$type][$group]['routes'][$key] = $result['route']; + self::$rules[$type][$group]['routes'][$key] = [$result['route'], $result['option'], $result['pattern']]; } else { self::$rules[$type][$key] = $result; }