fly 5 years ago
parent
commit
77bbd4f135
1 changed files with 3 additions and 3 deletions
  1. 3 3
      app/Modules/RecommendBook/Services/RecommendService.php

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

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