zhuchengjie hace 2 años
padre
commit
2921989ac8
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

@@ -26,7 +26,7 @@ class ChannelRecommendBooksService
                     $bidArr[] = $bids[$key+1];
                 }else{
                     $bidArr[] = $bids[$value];
-                    $value += 1;
+                    $value = 0;
                 }
                 if(isset($bids[$key+2])){
                     $bidArr[] = $bids[$key+2];