zhuchengjie 2 سال پیش
والد
کامیت
b049009045
1فایلهای تغییر یافته به همراه2 افزوده شده و 3 حذف شده
  1. 2 3
      app/Modules/Channel/Services/ChannelRecommendBooksService.php

+ 2 - 3
app/Modules/Channel/Services/ChannelRecommendBooksService.php

@@ -31,10 +31,9 @@ class ChannelRecommendBooksService
             $count = 3 - count($lists);
             \Log::info('count:'.$count);
             self::getRecommendBooks($channel_id,0,$count,$lists);
+        }else{
+            return $lists;
         }
-        \Log::info('return:lists');
-        \Log::info($lists);
-        return $lists;
     }
 
     static function incrRecommendNum($channel_id,$bids)