活动:寻宝骑兵活动接口
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user