fly 5 rokov pred
rodič
commit
77bbd4f135

+ 3 - 3
app/Modules/RecommendBook/Services/RecommendService.php

@@ -25,8 +25,8 @@ class RecommendService
             ['is_show', '=', 1],
             ['is_show', '=', 1],
             ['channel', '=', $channel],
             ['channel', '=', $channel],
             ['subject', '=', $type]
             ['subject', '=', $type]
-        ])->select('bid')
-            ->orderBy('sequence', 'asc')
-            ->get();
+        ])->orderBy('sequence', 'asc')
+            ->pluck('bid')
+            ->all();
     }
     }
 }
 }