活动:寻宝骑兵活动接口

This commit is contained in:
qiaoxin
2021-05-25 21:38:23 +08:00
parent bd78b30cee
commit ebeb22f630
9 changed files with 538 additions and 6 deletions

View File

@@ -9,6 +9,9 @@ export class ShopItem {
reward: string; //任务奖励,格式:1&3&1(类型&id&数量) 类型定义:1.英雄2.物品
countMax: number = 0; //可购买的最大次数0表示不限制
name: string; //名字
price: number; //价格
productID: string; //商品id
imageName: string;
buyCount: number = 0; //购买过的次数
@@ -17,6 +20,10 @@ export class ShopItem {
this.reward = data.reward;
this.countMax = data.countMax;
this.name = data.name;
this.price = data.price;
this.productID = data.productID;
this.imageName = data.imageName;
this.buyCount = 0;
}
}