composer
This commit is contained in:
@@ -100,7 +100,7 @@ class CourseCollectController extends Frontend
|
|||||||
if(empty($data['courseDetailsId'])) {
|
if(empty($data['courseDetailsId'])) {
|
||||||
$this->error('courseDetailsId不能为空', [], -1);
|
$this->error('courseDetailsId不能为空', [], -1);
|
||||||
}
|
}
|
||||||
$where[] = ['course_details_id', 'eq', $data['courseDetailsId']];
|
$where[] = ['course_details_id', '=', $data['courseDetailsId']];
|
||||||
}
|
}
|
||||||
$model = DatabaseRoute::getDb('course_collect', $this->getUserId());
|
$model = DatabaseRoute::getDb('course_collect', $this->getUserId());
|
||||||
$info = $model->where($where)->find();
|
$info = $model->where($where)->find();
|
||||||
|
|||||||
Reference in New Issue
Block a user