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(), } });