fly 5 年之前
父節點
當前提交
77bbd4f135
共有 1 個文件被更改,包括 3 次插入3 次删除
  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();
     }
 }