改名
This commit is contained in:
@@ -438,9 +438,9 @@ class Router extends HttpService implements RouterInterface
|
|||||||
foreach ($this->nodes as $node) {
|
foreach ($this->nodes as $node) {
|
||||||
/** @var Node[] $node */
|
/** @var Node[] $node */
|
||||||
foreach ($node as $_node) {
|
foreach ($node as $_node) {
|
||||||
if ($_node->path == '/') {
|
// if ($_node->path == '/') {
|
||||||
continue;
|
// continue;
|
||||||
}
|
// }
|
||||||
$path = strtoupper($_node->method) . ' : ' . $_node->path;
|
$path = strtoupper($_node->method) . ' : ' . $_node->path;
|
||||||
if (!empty($_node->childes)) {
|
if (!empty($_node->childes)) {
|
||||||
$path = $this->readByChild($_node->childes, $path);
|
$path = $this->readByChild($_node->childes, $path);
|
||||||
|
|||||||
Reference in New Issue
Block a user