mirror of
https://github.com/PlayEdu/frontend.git
synced 2025-12-23 18:29:39 +08:00
课程学习pingAPI请求
This commit is contained in:
@@ -74,6 +74,7 @@ export const VideoModel: React.FC<PropInterface> = ({
|
||||
if (duration - myRef.current >= 10 || isEnd === true) {
|
||||
setPlayDuration(duration);
|
||||
course.record(cid, id, duration).then((res: any) => {});
|
||||
course.playPing(cid, id).then((res: any) => {});
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user