mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
[更新]修改系统节点过滤
This commit is contained in:
parent
0d212cbc78
commit
9001871d7d
@ -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;
|
||||
}
|
||||
|
@ -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> </th>
|
||||
</tr>
|
||||
|
Loading…
x
Reference in New Issue
Block a user