Commit bcd34a6e authored by wangzhengwen's avatar wangzhengwen

7.4

parent 2045bcba
......@@ -41,7 +41,7 @@ class CourseProgress extends BaseController
'status' => 3,
'is_sell' => 1,
'is_del' => 0,
'is_zb'=>0
// 'is_zb'=>0
])->find();
if (!$course) {
......
......@@ -161,7 +161,7 @@ class Course extends Model
$detail = self::where($where)
->with(['getTeacher'=>['thumb'],'thumb','detailThumb'])
->field('id,thumb,title,createtime,description,price,content,teacher_id,tvclick,click,detailthumb')
->field('id,thumb,title,createtime,description,price,content,teacher_id,tvclick,click,detailthumb,is_zb')
->find();
if (!$detail)
{
......
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