✨ feat(gvg): 每日首次获得
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user