插件参数:
<imou-player
miniToken='76a59d2e3cd444408703e3486cb67cf4'
deviceId='8J01921PHA3F75D'
channelId='0'
liveType='localRecord'
recordBeginTime="2024-08-22 10:49:00"
recordEndTime="2024-08-22 10:51:00"
functionConfig='timeLine'
playConfig='{"resolution": "SD", "voice": "on", "fullScreen": "off"}'
width=''
height='300'
bind:handleEvent="handleEvent">
</imou-player>
调试的时候看到这个拆件会调用乐橙的一个接口 https://openapi.lechange.cn/openapi/queryDeviceRecordByMiniToken
请求体:{
"id": "V1sulLFLP53u4Wut5GASWFOpDDqhKN77",
"params": {
"beginTime": "2024-08-22 10:30:00",
"channelId": "0",
"deviceId": "8J01921PHA3F75D",
"endTime": "2024-08-22 18:00:00",
"miniToken": "59fdee88d9d44c17b76822e375e21545",
"queryRange": "1-100",
"recordType": "local"
}
}
参数queryRange超过64条记录就不会返回数据,请查看下怎么处理,或者把这个参数让我们在插件中传入,我们自己来控制