Authored by 周少峰

Merge branch 'hotfix/couponCenter' into 'release/5.6.1'

sync coupon status

同步领券状态,去除title限制

See merge request !119
... ... @@ -100,13 +100,9 @@ exports.getCouponStatus = (params) => {
let i = 0;
coupon.data.forEach(function(val, index) {
coupon.data.forEach(function(val) {
if (val.template_name === 'getCoupon' && val.data.length) {
// 优惠券楼层
if (!coupon.data[index - 1].data || !coupon.data[index - 1].data.text) {
return;
}
val.data.forEach(function(item) {
const status = Number(item.status);
... ...