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();
     }
 }