安装插件后的基础文件

This commit is contained in:
panx
2024-07-13 12:53:20 +08:00
parent db41c93a84
commit 7f33ce4bf6
318 changed files with 31711 additions and 0 deletions

16
plugin/demo/data/menu.php Normal file
View File

@@ -0,0 +1,16 @@
<?php
return [
[
'title' => '测试插件',
'router' => '/demo/Index/index',
'icon' => 'layui-icon-app',
'auth' => '1', // 是否鉴权
'children' => [
['router' => '/demo/Index/index', 'title' => '查看'],
['router' => '/demo/Index/add', 'title' => '添加'],
['router' => '/demo/Indexx/edit', 'title' => '编辑'],
['router' => '/demo/Index/execute', 'title' => '运行'],
['router' => '/demo/Indexx/del', 'title' => '删除']
]
],
];