diff --git a/app/Services/CacheService.php b/app/Services/CacheService.php index a3d6070f..fedd38fd 100755 --- a/app/Services/CacheService.php +++ b/app/Services/CacheService.php @@ -71,7 +71,7 @@ public static function updateOrderLikes(): array $cArticles = Articles::where('iStatus', 1) ->whereNotNull('sLastLikedAt') ->orderBy('sLastLikedAt', 'desc') - ->limit(10) + ->limit(5) ->get(); // 2. 构造与原结构完全一致的返回数组