diff --git a/console/frontend/src/App.tsx b/console/frontend/src/App.tsx index 3e5da0e..960e176 100644 --- a/console/frontend/src/App.tsx +++ b/console/frontend/src/App.tsx @@ -11,6 +11,7 @@ import { LogoutOutlined, SettingOutlined, HistoryOutlined, + BookOutlined, } from "@ant-design/icons"; import { health, logout, me } from "./api.ts"; import { SettingsModal } from "./components/SettingsModal.tsx"; @@ -36,6 +37,7 @@ const PAGE_META: Record = { "/mailboxes": { title: "邮箱", subtitle: "收件地址、保留策略与邮箱级 Webhook" }, "/inboxs": { title: "收件箱", subtitle: "已接收邮件(默认保留 1 天,可点保留永不过期),支持按域名筛选" }, "/logs": { title: "日志", subtitle: "账号 / 域名 / 邮箱 / Webhook 的操作记录(最多保留 10000 条)" }, + "/docs": { title: "文档", subtitle: "MCP 与 Console API(/api/v1)使用说明" }, }; /** # 成员变量: 主题切换按钮的太阳/月亮 SVG 图标 **/ @@ -104,6 +106,14 @@ export function App() {
{meta.subtitle}
+ {/* 文档入口:MCP / API 说明页,位于主题切换左侧 */} +