wangzq 2 年 前
コミット
460625ad7f
1 ファイル変更1 行追加1 行削除
  1. 1 1
      app/Modules/Book/Services/BookConfigService.php

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

@@ -325,7 +325,7 @@ class BookConfigService
             ->where('book_categories.pid',$channel)
             ->inRandomOrder()
             ->limit($supplement_count)
-            ->get()->pluck('bid')->toArray();
+             ->pluck('book_configs.bid')->all();
         return array_filter(array_merge($bid_list,$rand_bid));
     }
 }