wangzq 2 年之前
父节点
当前提交
0d08e93f65
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      app/Modules/Book/Services/BookConfigService.php

+ 1 - 0
app/Modules/Book/Services/BookConfigService.php

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