zhuchengjie 2 년 전
부모
커밋
b240b1134a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Modules/Channel/Services/ChannelRecommendBooksService.php

+ 1 - 1
app/Modules/Channel/Services/ChannelRecommendBooksService.php

@@ -28,7 +28,7 @@ class ChannelRecommendBooksService
         $data = array_merge($list,$data);
         if(count($data) < 3){
             $count = 3 - count($data);
-            self::getRecommendBooks($channel_id,$id,$count,$data);
+            self::getRecommendBooks($channel_id,0,$count,$data);
         }
 
         return $data;