add api key manage

This commit is contained in:
2026-04-20 09:24:46 +08:00
parent 3d7c05cdcb
commit 9926e3e7e2
4 changed files with 341 additions and 0 deletions
@@ -94,6 +94,7 @@ const menuItems: MenuItem[] = [
{ key: '/refund-items', icon: UnorderedListOutlined, label: '退款子项' },
],
},
{ key: '/api-keys', icon: KeyOutlined, label: 'API Key 管理', adminOnly: true },
{ key: '/roles', icon: TeamOutlined, label: '角色管理', adminOnly: true },
{ key: '/route-groups', icon: ApartmentOutlined, label: '路由组管理', adminOnly: true },
{ key: '/mq-status', icon: MonitorOutlined, label: '队列监控', adminOnly: true },
@@ -146,6 +147,7 @@ const breadcrumbItems = computed(() => {
'/failed-messages': '失败消息',
'/logs/requests': '请求日志',
'/logs/operations': '操作日志',
'/api-keys': 'API Key 管理',
'/profile': '个人信息',
'/profile/password': '修改密码',
}