mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 15:02:47 +08:00
修正 参数名称书写错误
This commit is contained in:
@@ -218,7 +218,7 @@ class Route
|
|||||||
}
|
}
|
||||||
|
|
||||||
// rest方法定义和修改
|
// rest方法定义和修改
|
||||||
public static function rest($name, $resocure = [])
|
public static function rest($name, $resource = [])
|
||||||
{
|
{
|
||||||
if (is_array($name)) {
|
if (is_array($name)) {
|
||||||
self::$rest = array_merge(self::$rest, $name);
|
self::$rest = array_merge(self::$rest, $name);
|
||||||
|
|||||||
Reference in New Issue
Block a user