Commit a68aa4a5 by 陈超

T

parent 82230d6e
......@@ -1230,17 +1230,17 @@ class VideoAction extends CommonAction
$this->assign('video_count', $video_count);
$this->assign('switch', model('Xdata')->get('admin_Config:commentSwitch')['course_switch']);
$this->assign("course_qrcode", $this->course_qrcode['is_open']);
//如果是ajax并且为h5访问 直接输出后边的数据
if ($this->isAjax() && $this->is_wap) {
$hd = array(
'video_address' => $video_address,
'videoid' => $videoid,
'video_type' => $video_type,
'learn_record' => $learn_record,
'learn_record_time' => $learn_record_time)
echo json_encode($hd);
exit();
}
// //如果是ajax并且为h5访问 直接输出后边的数据
// if ($this->isAjax() && $this->is_wap) {
// $hd = array(
// 'video_address' => $video_address,
// 'videoid' => $videoid,
// 'video_type' => $video_type,
// 'learn_record' => $learn_record,
// 'learn_record_time' => $learn_record_time)
// echo json_encode($hd);
// exit();
// }
// 分销的机构
$mount_mhm_id = isset($_GET['mount_mhm_id']) ? jiemi($_GET['mount_mhm_id']) : 0;
// 代理机构
......
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