固件变动
This commit is contained in:
@ -41,4 +41,16 @@ export function del(firmwareId) {
|
||||
url: '/system/firmware/' + firmwareId,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 启用固件
|
||||
* @param {Number} fileId 节点nodeId
|
||||
*/
|
||||
export function enable(fileId) {
|
||||
return request({
|
||||
url: '/system/firmware/enable',
|
||||
method: 'post',
|
||||
params: {fileId}
|
||||
})
|
||||
}
|
Reference in New Issue
Block a user