feat(history): establish Telegram SaaS platform foundation
This commit is contained in:
@@ -22,7 +22,7 @@ export function deleteKnowledge(id: string) {
|
||||
}
|
||||
|
||||
/** POST /api/knowledge/upload */
|
||||
export function uploadKnowledgeFiles(files: { name: string; type: string }[]) {
|
||||
export function uploadKnowledgeFiles(files: { name: string; type: string; base64: string }[]) {
|
||||
return http.post<{ items: KnowledgeItem[] }>('/api/knowledge/upload', { files })
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user