...
|
...
|
@@ -454,15 +454,16 @@ function transformJit(packageList) { |
|
|
discount: pValue.shopping_cut_cost
|
|
|
});
|
|
|
}
|
|
|
result.packages.push(perPackageData);
|
|
|
|
|
|
_.forEach(pValue.goods_list, gValue => {
|
|
|
result.packages[pKey].goods.push({
|
|
|
perPackageData.goods.push({
|
|
|
thumb: gValue.goods_images,
|
|
|
isAdd: gValue.goods_type === 'price_gift',
|
|
|
isGift: gValue.goods_type === 'gift'
|
|
|
});
|
|
|
});
|
|
|
|
|
|
result.packages.push(perPackageData);
|
|
|
});
|
|
|
return result;
|
|
|
}
|
...
|
...
|
|