menu seeder
parent
f38b5773d4
commit
ded66d9f0c
|
|
@ -95,6 +95,8 @@ class AdminMenuSeeder extends Seeder
|
||||||
['title' => '订单管理', 'uri' => 'store/order', 'icon' => ''],
|
['title' => '订单管理', 'uri' => 'store/order', 'icon' => ''],
|
||||||
['title' => '库存管理', 'uri' => 'store/stock', 'icon' => ''],
|
['title' => '库存管理', 'uri' => 'store/stock', 'icon' => ''],
|
||||||
['title' => '库存批次', 'uri' => 'store/batch', 'icon' => ''],
|
['title' => '库存批次', 'uri' => 'store/batch', 'icon' => ''],
|
||||||
|
['title' => '设备管理', 'uri' => 'store/device', 'icon' => ''],
|
||||||
|
['title' => '桌号管理', 'uri' => 'store/desk', 'icon' => ''],
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
|
|
|
||||||
|
|
@ -334,6 +334,8 @@ class AdminPermissionSeeder extends Seeder
|
||||||
'order' => ['name' => '订单管理', 'curd' => ['index', 'show']],
|
'order' => ['name' => '订单管理', 'curd' => ['index', 'show']],
|
||||||
'stock' => ['name' => '库存管理', 'curd' => ['index', 'create', 'store', 'show']],
|
'stock' => ['name' => '库存管理', 'curd' => ['index', 'create', 'store', 'show']],
|
||||||
'batch' => ['name' => '批次管理', 'curd' => true],
|
'batch' => ['name' => '批次管理', 'curd' => true],
|
||||||
|
'device' => ['name' => '设备管理', 'curd' => true],
|
||||||
|
'desk' => ['name' => '桌号管理', 'curd' => true],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'profit' => [
|
'profit' => [
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue