Commit edc828c9 by 陈超

T

parent 5dc84ff6
......@@ -324,7 +324,7 @@
return {
id: r.id,
title: r.video_title,
cover: r.cover,
cover: r.image_url,
price: pi.price == 0 ? '免费' : ('¥' + pi.price),
count: on ? r.video_order_count_mark : r.video_order_count
}
......
......@@ -245,7 +245,7 @@ class VideoAction extends CommonAction
$data['data'][$k]['view_url'] = U('course/Video/view',array('id'=>$v['id']));
}
$data['data'][$k]['mz_price'] = getPrice($v, $this->mid, true, true, $v['type']);
$data['data'][$k]['out'] = getCover($v[cover], 580, 320);
$data['data'][$k]['image_url'] = getCover($v[cover], 580, 320);
// 查询活动
$event = D('ZyCourseEvents', 'classroom')->getEventInfo(['course_type' => $v['type'], 'course_id' => $v['id']]);
if ($event) {
......
......@@ -206,7 +206,7 @@
return {
id: r.id,
title: r.video_title,
cover: r.cover,
cover: r.image_url,
price: pi.price == 0 ? '免费' : ('¥' + pi.price),
count: on ? r.video_order_count_mark : r.video_order_count
}
......
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