校园商户

This commit is contained in:
liu
2026-06-17 09:13:49 +08:00
parent 86be1c230e
commit 254823e308
50 changed files with 2186 additions and 40 deletions
+85
View File
@@ -477,6 +477,91 @@ class SysUserSeeder extends Seeder
],
],
],
[
'type' => 'menu',
'name' => '校园商户',
'local' => 'menu.merchant',
'icon' => 'ShopOutlined',
'key' => 'merchant',
'children' => [
[
'type' => 'route',
'name' => '商户分类',
'key' => 'merchant.category',
'path' => '/merchant/category',
'local' => 'menu.merchant.category',
'children' => [
['type' => 'rule', 'name' => '查询列表', 'key' => 'merchant.category.query'],
['type' => 'rule', 'name' => '新增分类', 'key' => 'merchant.category.create'],
['type' => 'rule', 'name' => '修改分类', 'key' => 'merchant.category.update'],
['type' => 'rule', 'name' => '删除分类', 'key' => 'merchant.category.delete'],
],
],
[
'type' => 'route',
'name' => '商户管理',
'key' => 'merchant.store',
'path' => '/merchant/store',
'local' => 'menu.merchant.store',
'children' => [
['type' => 'rule', 'name' => '查询列表', 'key' => 'merchant.store.query'],
['type' => 'rule', 'name' => '新增商户', 'key' => 'merchant.store.create'],
['type' => 'rule', 'name' => '修改商户', 'key' => 'merchant.store.update'],
['type' => 'rule', 'name' => '删除商户', 'key' => 'merchant.store.delete'],
],
],
[
'type' => 'route',
'name' => '商品分类',
'key' => 'merchant.product-category',
'path' => '/merchant/product-category',
'local' => 'menu.merchant.product-category',
'children' => [
['type' => 'rule', 'name' => '查询列表', 'key' => 'merchant.product-category.query'],
['type' => 'rule', 'name' => '新增分类', 'key' => 'merchant.product-category.create'],
['type' => 'rule', 'name' => '修改分类', 'key' => 'merchant.product-category.update'],
['type' => 'rule', 'name' => '删除分类', 'key' => 'merchant.product-category.delete'],
],
],
[
'type' => 'route',
'name' => '商品管理',
'key' => 'merchant.product',
'path' => '/merchant/product',
'local' => 'menu.merchant.product',
'children' => [
['type' => 'rule', 'name' => '查询列表', 'key' => 'merchant.product.query'],
['type' => 'rule', 'name' => '新增商品', 'key' => 'merchant.product.create'],
['type' => 'rule', 'name' => '修改商品', 'key' => 'merchant.product.update'],
['type' => 'rule', 'name' => '删除商品', 'key' => 'merchant.product.delete'],
],
],
[
'type' => 'route',
'name' => '打印机管理',
'key' => 'merchant.printer',
'path' => '/merchant/printer',
'local' => 'menu.merchant.printer',
'children' => [
['type' => 'rule', 'name' => '查询列表', 'key' => 'merchant.printer.query'],
['type' => 'rule', 'name' => '新增打印机', 'key' => 'merchant.printer.create'],
['type' => 'rule', 'name' => '修改打印机', 'key' => 'merchant.printer.update'],
['type' => 'rule', 'name' => '删除打印机', 'key' => 'merchant.printer.delete'],
],
],
[
'type' => 'route',
'name' => '打印任务',
'key' => 'merchant.print-task',
'path' => '/merchant/print-task',
'local' => 'menu.merchant.print-task',
'children' => [
['type' => 'rule', 'name' => '查询列表', 'key' => 'merchant.print-task.query'],
['type' => 'rule', 'name' => '删除任务', 'key' => 'merchant.print-task.delete'],
],
],
],
],
[
'type' => 'route',
'name' => 'XinAdmin',