🐞 fix(名将擂台): 名将擂台排行榜过期也不下榜
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user