测试bug修改

This commit is contained in:
仲么了
2023-08-17 09:24:59 +08:00
parent 792e1ce7d7
commit 6bc28e4f44
33 changed files with 1066 additions and 826 deletions

View File

@@ -19,15 +19,16 @@ export function addAppProject(params, files) {
})
}
}
// 修改项目
export function updateAppProject(params, files) {
if (files.length === 0) {
return request({
url: '/cs-device-boot/project/updateAppProject',
url: '/cs-device-boot/project/auditAppProject',
method: 'post',
data: params,
})
}else{
} else {
return uni.uploadFile({
url: config.domain + '/cs-device-boot/project/auditAppProject', //仅为示例,非真实的接口地址
files: files,
@@ -92,8 +93,16 @@ export function deleteAppTopologyDiagram(id) {
id,
status: 0,
},
header: {
'Content-Type': 'application/json',
})
}
// 删除拓扑图
export function checkCanDelete(id) {
return request({
url: '/cs-device-boot/topologyDiagram/checkCanDelete',
method: 'post',
data: {
id,
},
})
}