团购:debug接口

This commit is contained in:
luying
2022-10-09 17:18:26 +08:00
parent 1f196a5d36
commit a88d8160cd
8 changed files with 90 additions and 12 deletions

View File

@@ -37,7 +37,7 @@ class GroupShopTimer {
sum: number; // 如果次数不足sum次则强行设成sum次
constructor(beginTime: number, id: number, data: GroupShopTimerInDb) {
this.time = beginTime + data.time * 60 * 1000;
this.time = beginTime + data.time * 60 * 60 * 1000;
this.sum = data.sum;
this.itemId = id;
}
@@ -98,7 +98,7 @@ class GroupShopItem {
}
setPlayerCnt(cnt: number) {
this.hasBoughtCnt += cnt;
this.hasBoughtCnt = cnt;
}
checkBuyCnt(buyCnt: number) {