From c7ca77f6d0fbbf7b8cc66609ed7bb63ac68daa89 Mon Sep 17 00:00:00 2001 From: pwf0112 Date: Wed, 20 Jan 2016 21:41:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=20=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E5=90=8D=E7=A7=B0=E4=B9=A6=E5=86=99=E9=94=99=E8=AF=AF?= 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 fa159928..580cd894 100644 --- a/library/think/Route.php +++ b/library/think/Route.php @@ -218,7 +218,7 @@ class Route } // rest方法定义和修改 - public static function rest($name, $resocure = []) + public static function rest($name, $resource = []) { if (is_array($name)) { self::$rest = array_merge(self::$rest, $name);