✨ feat(gvg): 每日首次获得

This commit is contained in:
luying
2023-02-17 10:58:05 +08:00
parent 098a7c85c6
commit 2b96f6be6a
7 changed files with 68 additions and 18 deletions
+9
View File
@@ -74,6 +74,10 @@ export class GVGMainData {
sumTime: number = 0; // 今日贡献结算时间 10位时间戳
// 是否每天首次登录
isFirst = false;
leagueGoods: { itemType: number, id: number, count: number }[];
constructor(configId: number, period: number, countdownTime: number, type: number) {
this.configId = configId;
this.period = period;
@@ -112,6 +116,11 @@ export class GVGMainData {
}
this.myInfo.tasks = tasks;
}
setFistLogin(item: { itemType: number, id: number, count: number }[]) {
this.isFirst = true;
this.leagueGoods = item;
}
}
export class LeagueListInfo {