wangzq 2 лет назад
Родитель
Сommit
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));
     }
 }