Commit 82230d6e by 陈超

T

parent 35d34e4f
...@@ -1232,12 +1232,12 @@ class VideoAction extends CommonAction ...@@ -1232,12 +1232,12 @@ class VideoAction extends CommonAction
$this->assign("course_qrcode", $this->course_qrcode['is_open']); $this->assign("course_qrcode", $this->course_qrcode['is_open']);
//如果是ajax并且为h5访问 直接输出后边的数据 //如果是ajax并且为h5访问 直接输出后边的数据
if ($this->isAjax() && $this->is_wap) { if ($this->isAjax() && $this->is_wap) {
$hd = array() $hd = array(
$hd['video_address'] = $video_address 'video_address' => $video_address,
$hd['videoid'] = $videoid 'videoid' => $videoid,
$hd['video_type'] = $video_type 'video_type' => $video_type,
$hd['learn_record'] = $learn_record 'learn_record' => $learn_record,
$hd['learn_record_time'] = $learn_record_time 'learn_record_time' => $learn_record_time)
echo json_encode($hd); echo json_encode($hd);
exit(); exit();
} }
......
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