|
@@ -323,6 +323,7 @@ class BookConfigService
|
|
->whereNotIn('book_configs.cp_source',$hidden_cp)
|
|
->whereNotIn('book_configs.cp_source',$hidden_cp)
|
|
// ->where('book_configs.is_high_quality',1)
|
|
// ->where('book_configs.is_high_quality',1)
|
|
->where('book_categories.pid',$channel)
|
|
->where('book_categories.pid',$channel)
|
|
|
|
+ ->orderBy('book_configs.is_high_quality','desc')
|
|
->inRandomOrder()
|
|
->inRandomOrder()
|
|
->limit($supplement_count)
|
|
->limit($supplement_count)
|
|
->pluck('book_configs.bid')->all();
|
|
->pluck('book_configs.bid')->all();
|