feat(mohong): 新增摸红商城后台四页

This commit is contained in:
yml2213
2026-10-30 17:28:27 +08:00
parent c9b122d4c8
commit 68b0a94b63
8 changed files with 1323 additions and 0 deletions
+16
View File
@@ -17,6 +17,7 @@ import {
CustomerServiceOutlined,
DashboardOutlined,
FileDoneOutlined,
GiftOutlined,
LogoutOutlined,
MenuFoldOutlined,
MenuUnfoldOutlined,
@@ -130,6 +131,17 @@ const allNavGroups: NavGroup[] = [
{ key: '/distribution/invitation', label: '邀请返利', permission: 'distribution:site_view' },
],
},
{
key: 'crash',
label: '摸红',
icon: <GiftOutlined />,
children: [
{ key: '/crash/categories', label: '分类管理', permission: 'mohong:product_view' },
{ key: '/crash/products', label: '商品管理', permission: 'mohong:product_view' },
{ key: '/crash/orders', label: '订单管理', permission: 'mohong:order_view' },
{ key: '/crash/config', label: '摸红配置', permission: 'mohong:config' },
],
},
{
key: 'operations',
label: '运营',
@@ -212,6 +224,10 @@ const sectionMeta: Record<string, { title: string; description: string }> = {
title: '推广追踪',
description: '管理推广短链、渠道成本与注册下单转化。',
},
'/crash/categories': { title: '摸红分类', description: '维护撞车商城商品分类与排序。' },
'/crash/products': { title: '摸红商品', description: '维护撞车商城商品、价格与固定二维码。' },
'/crash/orders': { title: '摸红订单', description: '处理撞车订单的接单、完成、取消与退款。' },
'/crash/config': { title: '摸红配置', description: '维护默认二维码与订单一键复制模板。' },
'/notifications': { title: '通知中心', description: '查看后台系统通知并批量标记已读。' },
'/push': { title: '推送通知', description: '维护推送渠道与通知规则。' },
'/invitations': {