Authored by zhangxiaoru

goods_type

... ... @@ -177,10 +177,10 @@ function tranformPayment(data, orderInfo, cartType, skuList, orderComputeData) {
// obj.isVipPrice = good.sales_price !== good.last_vip_price && good.discount_tag === 'V';
// obj.isStudebt = good.sales_price !== good.last_vip_price && good.discount_tag === 'S';
if (good.good_type === 'gift' && good.is_advance === 'Y') {
if (good.goods_type === 'gift' && good.is_advance === 'Y') {
obj.gift = true;
obj.price = good.sale_price;
} else if (good.good_type === 'price_gift') { // eslint-disable-line
} else if (good.goods_type === 'price_gift') { // eslint-disable-line
obj.advanceBuy = true;
obj.price = good.sale_price;
}
... ...