【功能完善】IoT:设备新增时,增加 deviceKey、serialNumber、picUrl 等字段

This commit is contained in:
YunaiV committed 2024-12-14 16:10:23 +08:00
1 parent 8b59786fbf
commit dde5911b5f
12 files changed
+235 -119

No files matched your search

+5
View File
@@ -91,6 +91,11 @@ export const DeviceApi = {
return await request.get({ url: `/iot/device/count?productId=` + productId })
},
// 获取设备的精简信息列表
getSimpleDeviceList: async (deviceType?: number) => {
return await request.get({ url: `/iot/device/simple-list?`, params: { deviceType } })
},
// 获取设备属性最新数据
getDevicePropertiesLatestData: async (params: any) => {
return await request.get({ url: `/iot/device/data/latest`, params })