频道自动补全:channels 表(DBv2 回填去重) + GET /api/channels + 聊天卡片输入框下拉补全(键盘导航+点击选中)

This commit is contained in:
2026-08-07 19:55:32 +08:00
parent 0e622329a7
commit 62b6ff44d1
7 files changed
+147 -2

No files matched your search

+4
View File
@@ -135,6 +135,10 @@ export function getBackendVersion(): Promise<{ version: string; commit: string }
return getJSON<{ version: string; commit: string }>('/api/version')
}
export function getChannels(): Promise<{ items: { channel_id: string }[] }> {
return getJSON<{ items: { channel_id: string }[] }>('/api/channels')
}
export function getHelpContent(): Promise<HelpContentResponse> {
return getJSON<HelpContentResponse>('/api/help')
}