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