改名
This commit is contained in:
@@ -147,7 +147,6 @@ class Router extends HttpService implements RouterInterface
|
|||||||
if (!empty($first) && !empty($explode)) {
|
if (!empty($first) && !empty($explode)) {
|
||||||
$parent = $this->bindNode($parent, $explode, $method);
|
$parent = $this->bindNode($parent, $explode, $method);
|
||||||
}
|
}
|
||||||
var_dump($parent->path, $path);
|
|
||||||
$parent->path = $path;
|
$parent->path = $path;
|
||||||
return $parent->bindHandler($handler);
|
return $parent->bindHandler($handler);
|
||||||
}
|
}
|
||||||
@@ -171,6 +170,7 @@ class Router extends HttpService implements RouterInterface
|
|||||||
} else {
|
} else {
|
||||||
$parent = $search;
|
$parent = $search;
|
||||||
}
|
}
|
||||||
|
var_dump($parent->path, $value);
|
||||||
}
|
}
|
||||||
return $parent;
|
return $parent;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user