dockerfile
This commit is contained in:
@@ -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,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user