【新增】 IOT 产品管理,Topic 类列表
This commit is contained in:
@ -67,8 +67,8 @@ export const DeviceApi = {
|
||||
return await request.delete({ url: `/iot/device/delete?id=` + id })
|
||||
},
|
||||
|
||||
// 导出设备 Excel
|
||||
exportDevice: async (params) => {
|
||||
return await request.download({ url: `/iot/device/export-excel`, params })
|
||||
// 获取设备数量
|
||||
getDeviceCount: async (productId: number) => {
|
||||
return await request.get({ url: `/iot/device/count?productId=` + productId })
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user