...
|
...
|
@@ -337,13 +337,17 @@ export function getShopCouponList() { |
|
|
}
|
|
|
|
|
|
function parseCouponList(json) {
|
|
|
if (!json) {
|
|
|
return [];
|
|
|
}
|
|
|
|
|
|
let shopCoupons = [];
|
|
|
let logShopCoupons = [];
|
|
|
|
|
|
if (!json) {
|
|
|
return {
|
|
|
shopCoupons,
|
|
|
logShopCoupons,
|
|
|
};
|
|
|
}
|
|
|
|
|
|
_.forEach(json, value => {
|
|
|
let couPonstatus = parseInt(value.status, 10);
|
|
|
|
...
|
...
|
@@ -362,7 +366,7 @@ function parseCouponList(json) { |
|
|
});
|
|
|
}
|
|
|
});
|
|
|
|
|
|
|
|
|
return {
|
|
|
shopCoupons,
|
|
|
logShopCoupons,
|
...
|
...
|
|