This commit is contained in:
mmc
2026-05-09 13:14:55 +08:00
parent 5b19aaf505
commit e19aee3c14
2 changed files with 54 additions and 24 deletions

View File

@@ -39,6 +39,16 @@ export function addProduct(data) {
});
}
//编辑产品/system/product/update
export function updateProduct(data) {
return request({
url: '/system/product/update',
method: 'post',
data
});
}
//协议查询
export function getConnectTypes(params) {
@@ -68,6 +78,16 @@ export function getDataTypesApi(params) {
});
}
//删除物模型system/devicemodel/delete/{id}
export function deleteModel(id) {
return request({
url: `/system/devicemodel/delete/${id}`,
method: 'delete',
});
}