MCPcopy Index your code
hub / github.com/1Panel-dev/MaxKB / exportMulDocument

Function exportMulDocument

ui/src/api/system-shared/document.ts:183–191  ·  view source on GitHub ↗
(document_name, knowledge_id, document_ids, loading)

Source from the content-addressed store, hash-verified

181 document_ids: string[],
182 loading?: Ref<boolean>,
183) => Promise<any> = (document_name, knowledge_id, document_ids, loading) => {
184 return exportExcelPost(
185 document_name.trim() + '.xlsx',
186 `${prefix}/${knowledge_id}/document/batch_export`,
187 {},
188 document_ids,
189 loading,
190 )
191}
192/**
193 * 导出文档
194 * @param document_name 文档名称

Callers

nothing calls this directly

Calls 1

exportExcelPostFunction · 0.90

Tested by

no test coverage detected