Commit 700b3afa900dd12b1c8d8da5a3e7d1cbcc9d90f0

Authored by pengye
1 parent dd82595a

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

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