...
|
...
|
@@ -396,14 +396,14 @@ function parseCouponList(json) { |
|
|
_.forEach(json, value => {
|
|
|
let couPonstatus = parseInt(value.status, 10);
|
|
|
|
|
|
if (couPonstatus === 1 || couPonstatus === 3) {
|
|
|
if (couPonstatus === 1 || couPonstatus === 2 || couPonstatus === 3) {
|
|
|
shopCoupons.push({
|
|
|
validity: value.couponValidity,
|
|
|
id: value.coupon_id,
|
|
|
name: value.coupon_name,
|
|
|
pic: value.coupon_pic,
|
|
|
money: parseInt(value.money, 10),
|
|
|
status: couPonstatus === 1
|
|
|
status: couPonstatus
|
|
|
});
|
|
|
|
|
|
logShopCoupons.push({
|
...
|
...
|
|