|
@@ -4518,9 +4518,9 @@ export default {
|
|
|
this.courseDetail(); //课程详情
|
|
|
this.getGoodsDetail(); //商品详情
|
|
|
this.getAnswerList(); //答疑列表
|
|
|
- this.answerTimer = setInterval(() => {
|
|
|
- this.getAnswerList();
|
|
|
- }, 5000);
|
|
|
+ // this.answerTimer = setInterval(() => {
|
|
|
+ // this.getAnswerList();
|
|
|
+ // }, 5000);
|
|
|
this.getMenuList(); //学习目录
|
|
|
// this.getReMenuList(); //获取重修目录
|
|
|
this.getNoteList(); //获取节笔记
|
|
@@ -5438,12 +5438,12 @@ export default {
|
|
|
|
|
|
this.player.HTML5.video.addEventListener("timeupdate", self.timeEvent);
|
|
|
this.player.on("s2j_onPlayStart", () => {
|
|
|
- //开始播放每5秒提交一次观看时间
|
|
|
+ //开始播放每30秒提交一次观看时间
|
|
|
this.hasStart = true;
|
|
|
clearInterval(this.postTimer);
|
|
|
this.postTimer = setInterval(() => {
|
|
|
this.postStudyRecord(0, this.playSectionId, 5);
|
|
|
- }, 5000);
|
|
|
+ }, 30000);
|
|
|
if (this.recordObj.videoCurrentTime) {
|
|
|
this.showRecordStatus = true;
|
|
|
setTimeout(() => {
|
|
@@ -5464,7 +5464,7 @@ export default {
|
|
|
if (this.postTimer) {
|
|
|
this.postTimer = setInterval(() => {
|
|
|
this.postStudyRecord(0, this.playSectionId, 5);
|
|
|
- }, 5000);
|
|
|
+ }, 30000);
|
|
|
}
|
|
|
});
|
|
|
|