注解使用全命名空间调用而不是use

This commit is contained in:
2022-11-19 11:35:36 +08:00
parent 4236f514e9
commit a432778cd3
17 changed files with 56 additions and 74 deletions

View File

@@ -19,10 +19,8 @@ class NodeService
{
$basePath = base_path() . 'admin' . DIRECTORY_SEPARATOR . 'controller';
$baseNamespace = "app\admin\controller";
$nodeList = (new Node($basePath, $baseNamespace))
->getNodelist();
return $nodeList;
}
}