重新修改主业务逻辑的命名规则

This commit is contained in:
2023-09-23 17:48:36 +08:00
parent bee15dfea6
commit 44edefb37b
82 changed files with 264 additions and 118 deletions

View File

@@ -0,0 +1,25 @@
<?php
namespace base\admin\service;
use app\admin\service\node\Node;
class NodeServiceBase
{
/**
* 获取节点服务
* @return array
* @throws \Doctrine\Common\Annotations\AnnotationException
* @throws \ReflectionException
*/
public function getNodelist()
{
$basePath = base_path() . 'admin' . DIRECTORY_SEPARATOR . 'controller';
$baseNamespace = "app\admin\controller";
$nodeList = (new Node($basePath, $baseNamespace))
->getNodelist();
return $nodeList;
}
}