漏洞
一、漏洞一
$.ajax({
type:"POST",
url: "****************/mobile/saveProgress",
data:{
major_id:"406",
chapter_id:"3138",
type:'video',
current_time:"2910",
duration: vid.duration.toFixed(3)
},
dataType:'Json',
success:function(result){
setTimeout(function(){
if (currentTime == duration && next_chapter_id != 0) {
location.href = "****************/mobile/curriculumDetail" + '/' + major_id + '/' + next_chapter_id
}
}, 5*1000)
// $.alert(result.msg);
},
error: function(result) {
// $.alert(result.responseJSON.msg);
}
});