[更新]修改系统节点过滤

This commit is contained in:
邹景立 2017-04-18 17:56:07 +08:00
parent 0d212cbc78
commit 9001871d7d
2 changed files with 7 additions and 2 deletions

View File

@ -89,8 +89,13 @@ class NodeModel {
$alias["{$vo['node']}"] = $vo;
}
$nodes = [];
$ignore = [
'index',
'wechat/api', 'wechat/notify',
'admin/plugs', 'admin/login', 'admin/index',
];
foreach (self::getNodeTree(APP_PATH) as $thr) {
foreach (['admin/plugs', 'admin/login', 'admin/index', 'store/api', 'index'] as $str) {
foreach ($ignore as $str) {
if (stripos($thr, $str) === 0) {
continue 2;
}

View File

@ -5,7 +5,7 @@
<thead>
<tr>
<th style="width:20px"></th>
<th class='text-left'>节点</th>
<th class='text-left'>系统节点结构</th>
<th class='text-left'></th>
<th>&nbsp;</th>
</tr>