Authored by 郭成尧

cookie-orderInfo-empty

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