Commit c5b05dcb by maolipeng

fix:失效回放。。。。。

parent 56371d6e
...@@ -810,6 +810,13 @@ class LiveCourseList extends React.Component { ...@@ -810,6 +810,13 @@ class LiveCourseList extends React.Component {
}) })
return return
} }
if (item.startTime + 15*60*1000 < new Date().getTime()) {
Modal.warning({
title: '提示',
content: "该直播课的回放视频已失效",
});
return
}
WechatApi.replayLiving(item.livingId) WechatApi.replayLiving(item.livingId)
.then((res)=> { .then((res)=> {
console.log("进入企微回放") console.log("进入企微回放")
......
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