提交代码
This commit is contained in:
parent
98edaf421a
commit
a4376fbb56
|
|
@ -34,7 +34,7 @@ export function getFile(fileId) {
|
|||
// 新增文件基础
|
||||
export function addFile(data) {
|
||||
return request({
|
||||
url: '/ai/dataSetBasicFile',
|
||||
url: '/ai/dataSetBasicFile/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
|
|
@ -43,8 +43,8 @@ export function addFile(data) {
|
|||
// 修改文件基础
|
||||
export function updateFile(data) {
|
||||
return request({
|
||||
url: '/ai/dataSetBasicFile',
|
||||
method: 'put',
|
||||
url: '/ai/dataSetBasicFile/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ export function listDataSetLabels(query) {
|
|||
// 查询样本标签管理详细
|
||||
export function getDataSetLabels(labelId) {
|
||||
return request({
|
||||
url: '/ai/dataSetLabels/' + labelId,
|
||||
url: '/ai/dataSetLabels/getInfo/' + labelId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
|
@ -20,7 +20,7 @@ export function getDataSetLabels(labelId) {
|
|||
// 新增样本标签管理
|
||||
export function addDataSetLabels(data) {
|
||||
return request({
|
||||
url: '/ai/dataSetLabels',
|
||||
url: '/ai/dataSetLabels/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
|
|
@ -29,8 +29,8 @@ export function addDataSetLabels(data) {
|
|||
// 修改样本标签管理
|
||||
export function updateDataSetLabels(data) {
|
||||
return request({
|
||||
url: '/ai/dataSetLabels',
|
||||
method: 'put',
|
||||
url: '/ai/dataSetLabels/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
|
@ -38,7 +38,7 @@ export function updateDataSetLabels(data) {
|
|||
// 删除样本标签管理
|
||||
export function delDataSetLabels(labelId) {
|
||||
return request({
|
||||
url: '/ai/dataSetLabels/' + labelId,
|
||||
method: 'delete'
|
||||
url: '/ai/dataSetLabels/delete' + labelId,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ export function list(query) {
|
|||
// 查询【请填写功能名称】详细
|
||||
export function getSample(id) {
|
||||
return request({
|
||||
url: '/ai/sample/' + id,
|
||||
url: '/ai/sample/getInfo' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
|
@ -20,7 +20,7 @@ export function getSample(id) {
|
|||
// 新增【请填写功能名称】
|
||||
export function addSample(data) {
|
||||
return request({
|
||||
url: '/ai/sample',
|
||||
url: '/ai/sample/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
|
|
@ -29,8 +29,8 @@ export function addSample(data) {
|
|||
// 修改【请填写功能名称】
|
||||
export function updateSample(data) {
|
||||
return request({
|
||||
url: '/ai/sample',
|
||||
method: 'put',
|
||||
url: '/ai/sample/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
|
@ -38,7 +38,7 @@ export function updateSample(data) {
|
|||
// 删除【请填写功能名称】
|
||||
export function delSample(id) {
|
||||
return request({
|
||||
url: '/ai/sample/' + id,
|
||||
method: 'delete'
|
||||
url: '/ai/sample/delete/' + id,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ export function list(query) {
|
|||
// 查询标注人员和角色关联详细
|
||||
export function getTeamMember(memberId) {
|
||||
return request({
|
||||
url: '/ai/teamMember/' + memberId,
|
||||
url: '/ai/teamMember/getInfo/' + memberId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
|
@ -20,7 +20,7 @@ export function getTeamMember(memberId) {
|
|||
// 新增标注人员和角色关联
|
||||
export function addTeamMember(data) {
|
||||
return request({
|
||||
url: '/ai/teamMember',
|
||||
url: '/ai/teamMember/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
|
|
@ -38,7 +38,7 @@ export function updateTeamMember(data) {
|
|||
// 删除标注人员和角色关联
|
||||
export function delTeamMember(memberId) {
|
||||
return request({
|
||||
url: '/ai/teamMember/' + memberId,
|
||||
url: '/ai/teamMember/delete/' + memberId,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue