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();