Commit 76a4e617 by 冷斌

设置

parent a8807da3
......@@ -357,7 +357,6 @@ class HomeAction extends UserAction
$val['cover'] = $video['cover'];
$val['course_id'] = $val['video_id'];
$val['video_name'] = mStr($video['video_title'], 20);
$val['video_title'] = $video['video_title'];
$val['course_type'] = 1;
if ($val['course_hour_id']) {
......@@ -453,6 +452,8 @@ class HomeAction extends UserAction
$video = D('ExamsPaper', 'exams')->where('exams_paper_id=' . $val['paper_id'])->find(); //试卷信息
$val['course_id'] = $val['paper_id'];
$val['video_name'] = mStr($video['exams_paper_title'], 20);
$val['video_title'] = $video['exams_paper_title'];
//$val['cover'] = $video['cover'];
$val['old_price'] = $video['price'];
$val['price'] = $val['pay_price'];
......
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