Commit 700b3afa900dd12b1c8d8da5a3e7d1cbcc9d90f0

Authored by pengye
1 parent dd82595a

邀请函、商家有礼、商家详情免费券过期可重复领取2

... ... @@ -1188,6 +1188,7 @@ Page({
return (item.useEtime >= this.data.dataStr) || (item.foreverText == '永久有效') || (condition.valid_forever === '0' && condition.stime && condition.etime)
});
}
list.sort((a, b) => b.cdate - a.cdate);
list = list.reduce((accumulator, current) => {
if (!accumulator.some(item => item.aid === current.aid)) {
accumulator.push(current);
... ...