小程序首页配置

This commit is contained in:
liu
2026-08-14 12:41:18 +08:00
parent 889f987f17
commit 8b3cef5af0
21 changed files with 1350 additions and 3 deletions
+44
View File
@@ -264,6 +264,50 @@ class PermissionSeeder extends Seeder
],
],
],
[
'type' => 'menu',
'key' => 'procurement.client',
'name' => '客户端配置',
'icon' => 'MobileOutlined',
'children' => [
[
'type' => 'route',
'key' => 'client.banner',
'name' => '首页轮播图',
'path' => '/client/banner',
'children' => [
['type' => 'rule', 'key' => 'client.banner.query', 'name' => '查询'],
['type' => 'rule', 'key' => 'client.banner.create', 'name' => '新增'],
['type' => 'rule', 'key' => 'client.banner.update', 'name' => '编辑'],
['type' => 'rule', 'key' => 'client.banner.delete', 'name' => '删除'],
],
],
[
'type' => 'route',
'key' => 'client.nav',
'name' => '宫格导航',
'path' => '/client/nav',
'children' => [
['type' => 'rule', 'key' => 'client.nav.query', 'name' => '查询'],
['type' => 'rule', 'key' => 'client.nav.create', 'name' => '新增'],
['type' => 'rule', 'key' => 'client.nav.update', 'name' => '编辑'],
['type' => 'rule', 'key' => 'client.nav.delete', 'name' => '删除'],
],
],
[
'type' => 'route',
'key' => 'client.promo',
'name' => '促销推荐卡片',
'path' => '/client/promo',
'children' => [
['type' => 'rule', 'key' => 'client.promo.query', 'name' => '查询'],
['type' => 'rule', 'key' => 'client.promo.create', 'name' => '新增'],
['type' => 'rule', 'key' => 'client.promo.update', 'name' => '编辑'],
['type' => 'rule', 'key' => 'client.promo.delete', 'name' => '删除'],
],
],
],
],
[
'type' => 'menu',
'name' => 'AI',