From 7e8fef84508c603a5cdea0b70d56f34c53fd4f5d Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Thu, 18 Dec 2025 23:46:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=80=E6=AC=A1=E5=8F=AA=E5=8F=91=E9=80=8110?= =?UTF-8?q?=E4=B8=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../other/app/service/activity/RankingActivityServiceImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/activity/RankingActivityServiceImpl.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/activity/RankingActivityServiceImpl.java index 830fa447..fe80489e 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/activity/RankingActivityServiceImpl.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/activity/RankingActivityServiceImpl.java @@ -109,6 +109,7 @@ public class RankingActivityServiceImpl implements RankingActivityService { RankingListCO result = rankingListQryExe.execute(top4Cmd); if (result != null && CollectionUtils.isNotEmpty(result.getRankingList())) { + result.setRankingList(result.getRankingList().stream().limit(10).toList()); redisService.setString(cacheKey, JSON.toJSONString(result), CACHE_EXPIRE_MINUTES, TimeUnit.MINUTES); sendGameKingRewardEvent(cmd, result); return convertToRankingUserVOList(result);