zhuchengjie 2 年 前
コミット
b049009045

+ 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)