From a59ab3c6d8934e0ad6442f6a3811e1ff633e0bc1 Mon Sep 17 00:00:00 2001 From: xiaochong0302 Date: Thu, 12 Nov 2020 20:50:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=82=B9=E6=92=AD=E7=9B=B4?= =?UTF-8?q?=E6=92=AD=E9=83=A8=E5=88=86=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/static/home/js/chapter.live.player.js | 2 +- public/static/home/js/chapter.read.js | 6 ++---- public/static/home/js/chapter.vod.player.js | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/public/static/home/js/chapter.live.player.js b/public/static/home/js/chapter.live.player.js index 915c50fa..bcebb321 100644 --- a/public/static/home/js/chapter.live.player.js +++ b/public/static/home/js/chapter.live.player.js @@ -66,7 +66,7 @@ layui.use(['jquery', 'helper'], function () { data: { plan_id: planId, request_id: requestId, - interval: intervalTime, + interval_time: intervalTime, } }); } diff --git a/public/static/home/js/chapter.read.js b/public/static/home/js/chapter.read.js index df0769de..dee01578 100644 --- a/public/static/home/js/chapter.read.js +++ b/public/static/home/js/chapter.read.js @@ -6,7 +6,6 @@ layui.use(['jquery', 'helper'], function () { var interval = null; var intervalTime = 15000; var userId = window.user.id; - var chapterId = $('input[name="chapter.id"]').val(); var planId = $('input[name="chapter.plan_id"]').val(); var learningUrl = $('input[name="chapter.learning_url"]').val(); var requestId = helper.getRequestId(); @@ -40,10 +39,9 @@ layui.use(['jquery', 'helper'], function () { type: 'POST', url: learningUrl, data: { - request_id: requestId, - chapter_id: chapterId, plan_id: planId, - interval: intervalTime, + request_id: requestId, + interval_time: intervalTime, } }); } diff --git a/public/static/home/js/chapter.vod.player.js b/public/static/home/js/chapter.vod.player.js index 628b9067..a379d65f 100644 --- a/public/static/home/js/chapter.vod.player.js +++ b/public/static/home/js/chapter.vod.player.js @@ -84,7 +84,7 @@ layui.use(['jquery', 'helper'], function () { data: { plan_id: planId, request_id: requestId, - interval: intervalTime, + interval_time: intervalTime, position: player.currentTime(), } });