Commit 4a18332b authored by 李纪文's avatar 李纪文

perf: 视频回放增加参数

parent 0ebc945c
...@@ -40,6 +40,7 @@ const RecVideo = (props, ref) => { ...@@ -40,6 +40,7 @@ const RecVideo = (props, ref) => {
const edDates = moment(edTimes).format('YYYY-MM-DD HH:mm:ss'); const edDates = moment(edTimes).format('YYYY-MM-DD HH:mm:ss');
const params = { const params = {
id: VideoInfo.id, id: VideoInfo.id,
force: 1,
startTime: formattedTime, startTime: formattedTime,
endTime: edDates, endTime: edDates,
'site-code': window?.globalConfig?.userInfo?.LocalSite || '', 'site-code': window?.globalConfig?.userInfo?.LocalSite || '',
...@@ -58,6 +59,7 @@ const RecVideo = (props, ref) => { ...@@ -58,6 +59,7 @@ const RecVideo = (props, ref) => {
const edTimes = moment(endTime).format('YYYY-MM-DD HH:mm:ss'); const edTimes = moment(endTime).format('YYYY-MM-DD HH:mm:ss');
const param = { const param = {
id: VideoInfo.id, id: VideoInfo.id,
force: 1,
startTime: stTimes, startTime: stTimes,
endTime: edTimes, endTime: edTimes,
'site-code': window?.globalConfig?.userInfo?.LocalSite || '', 'site-code': window?.globalConfig?.userInfo?.LocalSite || '',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment