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)