12345678910111213141516 |
- import { get, postFile, post } from '@/http/index'
- // 获取知识库内文件列表
- export const uploadDocs = async (data) => {
- return await postFile('/knowledge_base/upload_docs', data)
- }
- // 获取知识库内文件列表
- export const getListFiles = async (data) => {
- return await get('/knowledge_base/list_files', data)
- }
- // 删除文件
- export const deleteDocs = async (data) => {
- return await post('/knowledge_base/delete_docs', data)
- }
|