|
@@ -61,7 +61,7 @@ class Gift extends Controller
|
|
|
if(!empty($where)) $query->where($where);
|
|
|
if(input('coll_name')){
|
|
|
$ids = Db::name('store_collection')->whereLike('name','%'.input('coll_name').'%')->column('id');
|
|
|
- $query->whereIn('id',$ids);
|
|
|
+ $query->whereIn('c_id',$ids);
|
|
|
}
|
|
|
$query->dateBetween('over_time')->order('i.id desc')->page();
|
|
|
}
|