dockerfile

This commit is contained in:
2026-05-20 17:55:34 +08:00
parent 97d6921b11
commit 07efaf9cc3
9 changed files with 161 additions and 57 deletions

View File

@@ -66,3 +66,21 @@ export function deleteknowledge(id: string) {
params: { id },
});
}
// 获取知识库详情
export function getknowledge(id: string) {
return request({
url: '/rag/dataset/detail',
method: 'get',
params: { id },
});
}
// 更新知识库状态
export function updateknowledgeStatus(data: { id: string; status: string }) {
return request({
url: '/rag/dataset/updateStatus',
method: 'put',
data,
});
}