固件升级完善

This commit is contained in:
kerwincui
2022-06-16 23:41:15 +08:00
parent b2fb001618
commit a574bcc5aa
6 changed files with 100 additions and 36 deletions

View File

@@ -9,6 +9,14 @@ export function listFirmware(query) {
})
}
// 查询设备最新固件
export function getLatestFirmware(deviceId) {
return request({
url: '/iot/firmware/getLatest/' + deviceId,
method: 'get'
})
}
// 查询产品固件详细
export function getFirmware(firmwareId) {
return request({