✨ feat(活动): 小游戏

This commit is contained in:
luying
2023-03-17 16:48:32 +08:00
parent 04cecc2d5d
commit 3669d557a7
14 changed files with 565 additions and 10 deletions
+4
View File
@@ -361,6 +361,7 @@ export class KeyName {
hid?: number;
seasonNum?: number;
activityId?: number;
roundIndex?: number;
index?: number; // 军团活动第几期
vestigeId?: number;
groupKey?: string;
@@ -380,6 +381,7 @@ export class KeyName {
if(param.groupKey) this.groupKey = param.groupKey;
if(param.day) this.day = param.day;
if(param.configId) this.configId = param.configId;
if(param.roundIndex) this.roundIndex = param.roundIndex;
}
public getName() {
@@ -424,6 +426,8 @@ export class KeyName {
return `${this.key}:${this.configId}:${this.groupKey}`;
case REDIS_KEY.GVG_BATTLE_LEAGUE_RANK_BY_CITY:
return `${this.key}:${this.configId}:${this.groupKey}:${this.cityId}`;
case REDIS_KEY.ACTIVITY_MINI_GAME:
return `${this.key}:${this.activityId}:${this.roundIndex}`;
default:
return this.key;
}