|
@@ -162,7 +162,7 @@ class BookConfig extends Model
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- $res->whereNotIn('book_configs.cp_source',['wutong','wutong2','wutong3','youyan2']);
|
|
|
+ $res->whereNotIn('book_configs.cp_source',['wutong','wutong2','wutong3','youyan2','yuyuedu','xinghe']);
|
|
|
return $res->orderBy($order[0], $order[1])->orderBy('book_configs.updated_at', 'desc')->paginate($page_size);
|
|
|
}
|
|
|
|
|
@@ -224,7 +224,7 @@ class BookConfig extends Model
|
|
|
$field = 'bid,' . $str;
|
|
|
$res->orderBy(DB::raw('field(' . $field . ')'));
|
|
|
}
|
|
|
- $res->whereNotIn('book_configs.cp_source',['wutong','wutong2','wutong3','youyan2']);
|
|
|
+ $res->whereNotIn('book_configs.cp_source',['wutong','wutong2','wutong3','youyan2','yuyuedu','xinghe']);
|
|
|
|
|
|
return $res->limit(30)->get();
|
|
|
}
|