活动:修改老接口
This commit is contained in:
@@ -59,11 +59,11 @@ export class DailyRMBGiftsData extends ActivityBase {
|
||||
}
|
||||
}
|
||||
if (endTime) {//DAILYRMBGIFTS_DAYS天内有购买过一次性礼包结束时间
|
||||
// if (moment(new Date()).toDate() < endTime) {
|
||||
// for (let item of this.list) {
|
||||
// item.isBuy = true;
|
||||
// }
|
||||
// }
|
||||
if (new Date() < endTime) {
|
||||
for (let item of this.list) {
|
||||
item.isBuy = true;
|
||||
}
|
||||
}
|
||||
this.receiveCount = deltaDays(new Date, endTime) + (isOver ? 0 : 1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user