47 lines
1.3 KiB
PHP
47 lines
1.3 KiB
PHP
<?php
|
|
|
|
/**
|
|
* 后台菜单配置
|
|
* 安装时会自动加载
|
|
*/
|
|
|
|
return [
|
|
[
|
|
'name' => '文章管理',
|
|
'code' => 'article',
|
|
'app' => 'article',
|
|
'path' => '/article',
|
|
'icon' => 'plugin',
|
|
'children' => [
|
|
[
|
|
'name' => '内容中心',
|
|
'code' => 'article:index',
|
|
'app' => 'article',
|
|
'path' => '/article/index',
|
|
'component' => '/article/content/index',
|
|
],
|
|
[
|
|
'name' => '内容分类',
|
|
'code' => 'article:category:index',
|
|
'app' => 'article',
|
|
'path' => '/article/category',
|
|
'component' => '/article/category/index',
|
|
],
|
|
[
|
|
'name' => '标签管理',
|
|
'code' => 'article:tag:index',
|
|
'app' => 'article',
|
|
'path' => '/article/tag',
|
|
'component' => '/article/tag/index',
|
|
],
|
|
[
|
|
'name' => '内容回收站',
|
|
'code' => 'article:recycle:index',
|
|
'app' => 'article',
|
|
'path' => '/article/recycle',
|
|
'component' => '/article/recycle/index',
|
|
],
|
|
],
|
|
],
|
|
];
|