Commit 40af7a2d by 冷斌

fix bug

parent bd6c85aa
......@@ -2633,7 +2633,6 @@ class PayVideoAction extends CommonAction
$exams_module_id = D('ExamsPaper', 'exams')->where(['exams_paper_id' => $vid])->getField('exams_module_id');
$url = U('exams/Index/paper', ['c' => 0, 'module_id' => $exams_module_id]);
$url = U('/');
} elseif ($vtype == 'zy_classes') {
$url = U('course/Classes/view', array('id' => $vid));
}
......
......@@ -228,6 +228,7 @@
},
isVideoLocked: function() {
return function(child) {
console.log(this.bought, child)
if(this.bought) {
return false
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment