2026-08-31 13:16:46 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 后台菜单配置
|
|
|
|
|
* 安装时会自动加载
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
return [
|
|
|
|
|
[
|
|
|
|
|
'name' => '文章管理',
|
|
|
|
|
'code' => 'article',
|
|
|
|
|
'app' => 'article',
|
|
|
|
|
'path' => '/article',
|
2026-09-01 20:45:40 +08:00
|
|
|
'icon' => 'ant-design:read-outlined',
|
2026-08-31 13:16:46 +08:00
|
|
|
'children' => [
|
|
|
|
|
[
|
|
|
|
|
'name' => '内容中心',
|
|
|
|
|
'code' => 'article:index',
|
|
|
|
|
'app' => 'article',
|
|
|
|
|
'path' => '/article/index',
|
|
|
|
|
'component' => '/article/content/index',
|
2026-09-01 20:45:40 +08:00
|
|
|
'icon' => 'ant-design:file-text-outlined',
|
2026-08-31 13:16:46 +08:00
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
'name' => '内容分类',
|
|
|
|
|
'code' => 'article:category:index',
|
|
|
|
|
'app' => 'article',
|
|
|
|
|
'path' => '/article/category',
|
|
|
|
|
'component' => '/article/category/index',
|
2026-09-01 20:45:40 +08:00
|
|
|
'icon' => 'ant-design:folder-open-outlined',
|
2026-08-31 13:16:46 +08:00
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
'name' => '标签管理',
|
|
|
|
|
'code' => 'article:tag:index',
|
|
|
|
|
'app' => 'article',
|
|
|
|
|
'path' => '/article/tag',
|
|
|
|
|
'component' => '/article/tag/index',
|
2026-09-01 20:45:40 +08:00
|
|
|
'icon' => 'ant-design:tags-outlined',
|
2026-08-31 13:16:46 +08:00
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
'name' => '内容回收站',
|
|
|
|
|
'code' => 'article:recycle:index',
|
|
|
|
|
'app' => 'article',
|
|
|
|
|
'path' => '/article/recycle',
|
|
|
|
|
'component' => '/article/recycle/index',
|
2026-09-01 20:45:40 +08:00
|
|
|
'icon' => 'ant-design:delete-outlined',
|
2026-08-31 13:16:46 +08:00
|
|
|
],
|
|
|
|
|
],
|
|
|
|
|
],
|
|
|
|
|
];
|