diff --git a/frontend/src/components/layout/AdminLayout.tsx b/frontend/src/components/layout/AdminLayout.tsx index 24d122d..7c1ce3c 100644 --- a/frontend/src/components/layout/AdminLayout.tsx +++ b/frontend/src/components/layout/AdminLayout.tsx @@ -37,149 +37,76 @@ interface NavGroup { const adminNavGroups: NavGroup[] = [ { - - title: '驾驶舱', - + title: '数据驾驶舱', icon: 'dashboard', - items: [ - { path: '/admin', icon: 'dashboard', label: '平台驾驶舱', exact: true }, - { path: '/admin/analytics', icon: 'analytics', label: '数据分析' }, - ], - }, { - - title: 'AI 能力', - + title: 'AI技能中心', icon: 'agents', - items: [ - - { path: '/admin/agents', icon: 'agents', label: 'Agent 管理' }, - - { path: '/admin/skills', icon: 'skills', label: '技能管理' }, - { path: '/admin/models', icon: 'models', label: '大模型库' }, - - { path: '/admin/knowledge', icon: 'knowledge', label: '知识库管理' }, - - { path: '/admin/workflow', icon: 'workflow', label: '工作流编排' }, - - { path: '/admin/mcp', icon: 'mcp', label: 'MCP 服务' }, - + { path: '/admin/agents', icon: 'agents', label: 'Agent 管理' }, + { path: '/admin/skills', icon: 'skills', label: 'Skills 技能管理' }, + { path: '/admin/mcp', icon: 'mcp', label: 'MCP Client 管理' }, + { path: '/admin/market', icon: 'market', label: 'AI 技能审核' }, ], - }, { - - title: '应用与市场', - - icon: 'market', - - items: [ - - { path: '/admin/apps', icon: 'apps', label: 'AI 应用管理' }, - - { path: '/admin/market', icon: 'market', label: '应用市场审核' }, - - { path: '/admin/code-exec', icon: 'code', label: '代码执行沙箱' }, - - ], - - }, - - { - - title: '用户运营', - + title: '平台运营', icon: 'users', - items: [ - { path: '/admin/users', icon: 'users', label: '用户管理' }, - - { path: '/admin/membership', icon: 'membership', label: '会员订阅' }, - + { path: '/admin/membership', icon: 'membership', label: '会员管理' }, { path: '/admin/promotion', icon: 'promotion', label: '推广系统' }, - { path: '/admin/achievement', icon: 'achievement', label: '成就系统' }, - ], - }, { - title: '商业变现', - icon: 'billing', - items: [ - { path: '/admin/billing', icon: 'billing', label: '计费与支付' }, - - { path: '/admin/payment', icon: 'payment', label: '支付渠道配置' }, - + { path: '/admin/payment', icon: 'payment', label: '支付渠道' }, { path: '/admin/services', icon: 'services', label: '增值服务' }, - - { path: '/admin/ads', icon: 'ads', label: '广告位管理' }, - + { path: '/admin/ads', icon: 'ads', label: '广告管理' }, { path: '/admin/assets', icon: 'assets', label: '资产管理' }, - - { path: '/admin/tenant', icon: 'tenant', label: '多租户管理' }, - ], - }, { - title: '系统管理', - icon: 'settings', - items: [ - { path: '/admin/settings', icon: 'settings', label: '网站设置' }, - - { path: '/admin/sms', icon: 'sms', label: '短信配置' }, - { path: '/admin/logs', icon: 'logs', label: '日志与风控' }, - - { path: '/admin/im-bots', icon: 'imbot', label: 'IM 机器人' }, - - { path: '/admin/privacy', icon: 'privacy', label: '隐私与本地代理' }, - - { path: '/admin/distributions', icon: 'distro', label: '发行版构建' }, - ], - }, { - - title: '开发与集成', - + title: '待处理', icon: 'developer', - items: [ - + { path: '/admin/knowledge', icon: 'knowledge', label: '知识库管理' }, + { path: '/admin/workflow', icon: 'workflow', label: '工作流编排' }, + { path: '/admin/apps', icon: 'apps', label: 'AI 应用管理' }, + { path: '/admin/code-exec', icon: 'code', label: '代码执行沙箱' }, + { path: '/admin/tenant', icon: 'tenant', label: '多租户管理' }, + { path: '/admin/sms', icon: 'sms', label: '短信配置' }, + { path: '/admin/im-bots', icon: 'imbot', label: 'IM 机器人' }, + { path: '/admin/privacy', icon: 'privacy', label: '隐私与本地代理' }, + { path: '/admin/distributions', icon: 'distro', label: '发行版构建' }, { path: '/admin/storage', icon: 'storage', label: '存储配置' }, - { path: '/admin/automation', icon: 'automation', label: '自动化任务' }, - { path: '/admin/developer', icon: 'developer', label: '开发者 API' }, - { path: '/admin/developer-tools', icon: 'devtools', label: '开发者工具' }, - ], - }, ]; diff --git a/frontend/src/components/layout/FrontLayout.tsx b/frontend/src/components/layout/FrontLayout.tsx index 376891a..501a4fb 100644 --- a/frontend/src/components/layout/FrontLayout.tsx +++ b/frontend/src/components/layout/FrontLayout.tsx @@ -10,27 +10,27 @@ const navGroups = [ { path: '/chat', icon: 'chat', label: 'AI聊天' }, { path: '/knowledge', icon: 'knowledge', label: '知识库' }, { path: '/market', icon: 'market', label: '技能市场' }, - { path: '/evolution', icon: 'evolution', label: 'AI自进化' }, + { path: '/evolution', icon: 'evolution', label: '进化看板' }, ], }, { title: 'IM Bot', items: [ - { path: '/wechat-bot', icon: 'wechat', label: '微信机器人' }, + { path: '/wechat-bot', icon: 'wechat', label: '微信Bot' }, ], }, { title: '资源中心', items: [ - { path: '/assets', icon: 'assets', label: '资产文件' }, { path: '/token', icon: 'token', label: 'Token驾驶舱' }, - { path: '/pricing', icon: 'pricing', label: '付费中心' }, + { path: '/pricing', icon: 'pricing', label: '会员订阅' }, + { path: '/assets', icon: 'assets', label: '资产文件' }, ], }, ]; const bottomItems = [ - { path: '/profile', icon: 'profile', label: '个人中心' }, + { path: '/profile', icon: 'profile', label: '个人设置' }, { path: '/notifications', icon: 'notify', label: '消息通知' }, ];