mirror of
http://112.124.100.131/ebiz-ai/ebiz-ai-knowledge-manage.git
synced 2025-12-11 11:56:51 +08:00
refactor(api): 移除 datasetQueryDelete 函数中的多余参数- 删除了 datasetQueryDelete 函数中不必要的 data 参数
- 优化了 API 请求的结构,提高了代码的可读性和维护性
This commit is contained in:
@@ -188,7 +188,6 @@ export function datasetQuerySegments(data) {
|
||||
export function datasetQueryDelete(data) {
|
||||
return request({
|
||||
url: getUrl(`/datasetDocumentEx/delete?documentId=${data.id}`),
|
||||
method: 'delete',
|
||||
data
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user