[更新]修复系统节点读取器

This commit is contained in:
邹景立 2018-05-05 20:58:00 +08:00
parent cf2d53b4af
commit e93dab0171

View File

@ -129,7 +129,7 @@ class NodeService
} }
foreach (get_class_methods($className) as $funcName) { foreach (get_class_methods($className) as $funcName) {
if (strpos($funcName, '_') !== 0 && $funcName !== 'initialize') { if (strpos($funcName, '_') !== 0 && $funcName !== 'initialize') {
$nodes[] = self::parseNodeStr("{$matches[1]}/{$matches[2]}/") . strtolower($funcName); $nodes[] = self::parseNodeStr("{$matches[1]}/{$matches[2]}") . '/' . strtolower($funcName);
} }
} }
} }