整理菜单
parent
17c7f0f9f8
commit
e70dab4017
|
|
@ -30,6 +30,12 @@ class AdminMenuSeeder extends Seeder
|
|||
['title' => 'keywords', 'icon' => 'ph:codesandbox-logo-light', 'url' => '/system/keywords', 'order'=>6]
|
||||
],
|
||||
],
|
||||
['title' => 'web_content', 'icon' => 'ic:outline-collections-bookmark', 'url' => '', 'order'=>3,
|
||||
'children' =>[
|
||||
['title'=>'articles', 'icon'=>'ic:outline-article','url'=>'/articles', 'order'=>1],
|
||||
['title'=>'banners', 'icon'=>'lets-icons:img-box','url'=>'/banners', 'order'=>2],
|
||||
]
|
||||
]
|
||||
];
|
||||
DB::table('admin_menus')->truncate();
|
||||
try {
|
||||
|
|
|
|||
|
|
@ -9,5 +9,8 @@ return [
|
|||
'admin_permission' => '权限',
|
||||
'admin_menu' => '菜单',
|
||||
'admin_setting' => '设置',
|
||||
'keywords' => '数据字典'
|
||||
'keywords' => '数据字典',
|
||||
'web_content' => '内容管理',
|
||||
'articles' => '文章管理',
|
||||
'banners' => '广告管理',
|
||||
];
|
||||
|
|
|
|||
Loading…
Reference in New Issue