feat:【IoT 物联网】物模型数据-设备属性,增加图表展示

This commit is contained in:
YunaiV
2025-06-18 19:41:36 +08:00
parent 814a8465b6
commit 5e9a798d0b
4 changed files with 154 additions and 41 deletions

View File

@@ -130,12 +130,12 @@ export const DeviceApi = {
// 获取设备属性最新数据
getLatestDeviceProperties: async (params: any) => {
return await request.get({ url: `/iot/device/property/latest`, params })
return await request.get({ url: `/iot/device/property/get-latest`, params })
},
// 获取设备属性历史数据
getHistoryDevicePropertyPage: async (params: any) => {
return await request.get({ url: `/iot/device/property/history-page`, params })
getHistoryDevicePropertyList: async (params: any) => {
return await request.get({ url: `/iot/device/property/history-list`, params })
},
// 获取设备认证信息