活动:糜家商店挑战统计
This commit is contained in:
@@ -9,7 +9,7 @@ import { ActivityBase } from './activityField';
|
||||
export class SelfServiceShopItemInfo {
|
||||
cellIndex: number; // 第几个坑位,从1开始
|
||||
cellType: number; //坑位类型 SELF_SERVICE_SHOP_CELL_TYPE 1.特殊 2.普通
|
||||
gift: number; //礼包内容
|
||||
gift: string; //礼包内容
|
||||
|
||||
constructor(data: any) {
|
||||
this.cellIndex = data.cellIndex;
|
||||
@@ -56,6 +56,7 @@ export class SelfServiceShopData extends ActivityBase {
|
||||
unitCountMax: number = 0;//元宝购买代币最大次数
|
||||
unitReward: string = '';//购买获得代币资源
|
||||
|
||||
challengeCount: number = 0;//挑战次数
|
||||
unitBuyCount: number = 0;//元宝购买代币次数
|
||||
roundIndex: number = 0; //第几周期 从1开始
|
||||
|
||||
@@ -87,6 +88,7 @@ export class SelfServiceShopData extends ActivityBase {
|
||||
this.unitPrice = dataObj.unitPrice;
|
||||
this.unitCountMax = dataObj.unitCountMax;
|
||||
this.unitReward = dataObj.unitReward;
|
||||
this.challengeCount = 0;
|
||||
|
||||
let arr = dataObj.data;
|
||||
for (let obj of arr) {
|
||||
|
||||
Reference in New Issue
Block a user