From f90cce8a5eabe756e16194b4afc4489327dcfe0c Mon Sep 17 00:00:00 2001 From: luying Date: Thu, 5 Jan 2023 15:51:15 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix(=E5=90=8D=E5=B0=86=E6=93=82?= =?UTF-8?q?=E5=8F=B0):=20=E5=90=8D=E5=B0=86=E6=93=82=E5=8F=B0=E6=8E=92?= =?UTF-8?q?=E8=A1=8C=E6=A6=9C=E8=BF=87=E6=9C=9F=E4=B9=9F=E4=B8=8D=E4=B8=8B?= =?UTF-8?q?=E6=A6=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game-server/app/services/rankService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game-server/app/services/rankService.ts b/game-server/app/services/rankService.ts index bbeda75d0..51183b995 100644 --- a/game-server/app/services/rankService.ts +++ b/game-server/app/services/rankService.ts @@ -757,7 +757,7 @@ export class Rank { let param: RoleRankInfo | GuildRankInfo; if (this.infoKey == REDIS_KEY.USER_INFO) { - if (nowSeconds() - userInfo.updatedAt > 2 * 30 * 24 * 60 * 60) { + if (this.key != REDIS_KEY.LADDER && nowSeconds() - userInfo.updatedAt > 2 * 30 * 24 * 60 * 60) { return null; } param = new RoleRankInfo(userInfo);