活动:删除多余字段
This commit is contained in:
@@ -10,13 +10,11 @@ export class CoinRewardFormulaItem {
|
||||
levelMin: number;
|
||||
levelMax: number;
|
||||
rewardFormula: string;
|
||||
rewardBaseRatio: number;
|
||||
|
||||
constructor(data: any) {
|
||||
this.levelMin = data.levelMin;
|
||||
this.levelMax = data.levelMax;
|
||||
this.rewardFormula = data.rewardFormula;
|
||||
this.rewardBaseRatio = data.rewardBaseRatio;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,13 +23,11 @@ export class ConsumeExchangeFormulaItem {
|
||||
countMin: number;
|
||||
countMax: number;
|
||||
consumeFormula: string;
|
||||
exchangeRate: number;
|
||||
|
||||
constructor(data: any) {
|
||||
this.countMin = data.countMin;
|
||||
this.countMax = data.countMax;
|
||||
this.consumeFormula = data.consumeFormula;
|
||||
this.exchangeRate = data.exchangeRate;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user