|
@@ -120,6 +120,21 @@ export const IotStatApi = {
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
|
|
+ getDeviceInfoChartly: async (deviceCode: any, identifier: any, begin: string, end: string) => {
|
|
|
|
|
+ return await request.get({
|
|
|
|
|
+ url:
|
|
|
|
|
+ `/rq/stat/td/chart/ly/` +
|
|
|
|
|
+ deviceCode +
|
|
|
|
|
+ '/' +
|
|
|
|
|
+ identifier +
|
|
|
|
|
+ '?beginTime=' +
|
|
|
|
|
+ begin +
|
|
|
|
|
+ '&endTime=' +
|
|
|
|
|
+ end,
|
|
|
|
|
+ signal: globalController.signal
|
|
|
|
|
+ })
|
|
|
|
|
+ },
|
|
|
|
|
+
|
|
|
getDeviceCount: async (params?: any) => {
|
|
getDeviceCount: async (params?: any) => {
|
|
|
return await request.get({ url: `/rq/stat/home/device/count/` + params })
|
|
return await request.get({ url: `/rq/stat/home/device/count/` + params })
|
|
|
},
|
|
},
|