Authored by 郭成尧

yohoCoin

@@ -62,7 +62,7 @@ exports.cartPay = (uid, cartType, orderInfo, limitProductCode, sku, skn, buyNumb @@ -62,7 +62,7 @@ exports.cartPay = (uid, cartType, orderInfo, limitProductCode, sku, skn, buyNumb
62 } 62 }
63 63
64 // cookie保存的数据 64 // cookie保存的数据
65 - if (!_.isEmpty(orderInfo)) { 65 + if (orderInfo) {
66 orderInfo.paymentType = orderInfo.paymentType ? orderInfo.paymentType : ''; 66 orderInfo.paymentType = orderInfo.paymentType ? orderInfo.paymentType : '';
67 orderComputeAPI = shoppingAPI.orderComputeAPI( 67 orderComputeAPI = shoppingAPI.orderComputeAPI(
68 uid, 68 uid,