【修改功能】IOT:设备历史数据展示

This commit is contained in:
安浩浩 committed 2024-11-10 20:23:32 +08:00
1 parent 5243f5849f
commit d256d70d92
3 files changed
+13 -14

No files matched your search

+2 -2
View File
@@ -93,11 +93,11 @@ export const DeviceApi = {
// 获取设备属性最新数据
getDevicePropertiesLatestData: async (params: any) => {
return await request.get({ url: `/iot/device/data/latest-data`, params })
return await request.get({ url: `/iot/device/data/latest`, params })
},
// 获取设备属性历史数据
getDevicePropertiesHistoryData: async (params: any) => {
return await request.get({ url: `/iot/device/data/history-data`, params })
return await request.get({ url: `/iot/device/data/history`, params })
}
}