mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-24 10:22:32 +08:00
[更新]修改系统节点过滤
This commit is contained in:
parent
0d212cbc78
commit
9001871d7d
@ -89,8 +89,13 @@ class NodeModel {
|
|||||||
$alias["{$vo['node']}"] = $vo;
|
$alias["{$vo['node']}"] = $vo;
|
||||||
}
|
}
|
||||||
$nodes = [];
|
$nodes = [];
|
||||||
|
$ignore = [
|
||||||
|
'index',
|
||||||
|
'wechat/api', 'wechat/notify',
|
||||||
|
'admin/plugs', 'admin/login', 'admin/index',
|
||||||
|
];
|
||||||
foreach (self::getNodeTree(APP_PATH) as $thr) {
|
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) {
|
if (stripos($thr, $str) === 0) {
|
||||||
continue 2;
|
continue 2;
|
||||||
}
|
}
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th style="width:20px"></th>
|
<th style="width:20px"></th>
|
||||||
<th class='text-left'>节点</th>
|
<th class='text-left'>系统节点结构</th>
|
||||||
<th class='text-left'></th>
|
<th class='text-left'></th>
|
||||||
<th> </th>
|
<th> </th>
|
||||||
</tr>
|
</tr>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user