设备授权码改进

This commit is contained in:
kerwincui
2022-06-15 16:59:42 +08:00
parent a908ca60a9
commit 422ebf51d8
3 changed files with 92 additions and 8 deletions

View File

@@ -52,6 +52,14 @@ export function getDevice(deviceId) {
})
}
// 根据设备编号查询设备详细
export function getDeviceBySerialNumber(serialNumber) {
return request({
url: '/iot/device/getDeviceBySerialNumber/' + serialNumber,
method: 'get'
})
}
// 查询设备统计信息
export function getDeviceStatistic() {
return request({