zhuchengjie hace 3 años
padre
commit
9b4d493c56
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/Modules/Channel/Services/ChannelRecommendBooksService.php

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

@@ -20,7 +20,7 @@ class ChannelRecommendBooksService
         $query->where('channel_recommend_books.channel_id',$channel_id);
 
         if(!empty($id) && $id != 0){
-            $query->where('id','<',$id);
+            $query->where('channel_recommend_books.id','<',$id);
         }
 
         $list = $query->limit($limit)->get()->toArray();