zhuchengjie 2 years ago
parent
commit
b240b1134a
1 changed files with 1 additions and 1 deletions
  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;