Merge branch 'hotfix/couponCenter' into 'release/5.6.1'
sync coupon status 同步领券状态,去除title限制 See merge request !119
Showing
1 changed file
with
1 additions
and
5 deletions
@@ -100,13 +100,9 @@ exports.getCouponStatus = (params) => { | @@ -100,13 +100,9 @@ exports.getCouponStatus = (params) => { | ||
100 | 100 | ||
101 | let i = 0; | 101 | let i = 0; |
102 | 102 | ||
103 | - coupon.data.forEach(function(val, index) { | 103 | + coupon.data.forEach(function(val) { |
104 | if (val.template_name === 'getCoupon' && val.data.length) { | 104 | if (val.template_name === 'getCoupon' && val.data.length) { |
105 | // 优惠券楼层 | 105 | // 优惠券楼层 |
106 | - if (!coupon.data[index - 1].data || !coupon.data[index - 1].data.text) { | ||
107 | - return; | ||
108 | - } | ||
109 | - | ||
110 | val.data.forEach(function(item) { | 106 | val.data.forEach(function(item) { |
111 | const status = Number(item.status); | 107 | const status = Number(item.status); |
112 | 108 |
-
Please register or login to post a comment