✨ feat(活动): 小游戏
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user