团购活动:定时退费

This commit is contained in:
luying
2022-10-08 20:24:30 +08:00
parent e9170e61e1
commit 1f196a5d36
5 changed files with 74 additions and 6 deletions

View File

@@ -30,9 +30,6 @@ export class GroupShopBuyRecord {
@prop({ required: true })
buyCnt: number; // 购买次数
@prop({ required: true })
refundPrice: number; // 退费价格
constructor(curDiscount: GroupShopDiscount, buyCnt: number) {
this.time = nowSeconds();
if(curDiscount) {
@@ -42,7 +39,6 @@ export class GroupShopBuyRecord {
this.price = curDiscount.price;
}
this.buyCnt = buyCnt;
this.refundPrice = 0;
}
}