活动:每日充值

This commit is contained in:
luying
2022-03-04 09:47:24 +08:00
parent 17b5071d66
commit 8649cb82b7
8 changed files with 171 additions and 131 deletions
@@ -21,7 +21,7 @@ interface TurntableFloorInDb { // 保底,每sum次必出count个头奖,头
interface TurntableBoxInDb {
count: number; // 次数
reward: string; // 奖励 type&id&count
rewards: string; // 奖励 type&id&count
}
interface TurntableInDb {
@@ -54,13 +54,13 @@ export class LuckyTurntablePool {
export class LuckyTurntableBox {
count: number; // 次数
reward: string; // 奖励
rewards: string; // 奖励
isReceived: boolean = false; // 是否已领取
constructor(data: TurntableBoxInDb) {
this.count = data.count;
this.reward = data.reward;
this.rewards = data.rewards;
}
public setReceived(box: number[] = []) {