复制 Markdown查看 MarkdowngetDpLogDays(params: IGetDpLogDays)版本要求:@ray-js/ray≥1.5.2描述获取指定日期范围内 DP 点每日上报的数据统计参数参数类型必填说明›paramsIGetDpLogDays是请求参数返回值类型:Promise<IGetDpLogDaysResponse>每日统计数据,包含总条数、日期列表、对应每天的值列表示例代码基础用法import { getDpLogDays } from '@ray-js/ray'; getDpLogDays({ devId: 'vdevo169477319679442', dpId: '1', startDay: '20240101', endDay: '20240131', type: 'sum', }).then((res) => { console.log('每日统计:', res); }).catch((error) => { console.error(error); });上一页setAlarmSwitch下一页getDpReportLog