...
|
...
|
@@ -156,8 +156,8 @@ exports.cartPay = (uid, cartType, orderInfo, limitProductCode, sku, skn, buyNumb |
|
|
* @param string $skuList 购买限购商品时需要传递的参数
|
|
|
* @return array 接口返回的数据
|
|
|
*/
|
|
|
exports.orderCompute = (uid, cartType, deliveryWay, paymentType, couponCode, yohoCoin, skuList) => {
|
|
|
return shoppingAPI.orderComputeAPI(uid, cartType, deliveryWay, paymentType, couponCode, yohoCoin, skuList).then(result => {
|
|
|
exports.orderCompute = (uid, cartType, deliveryWay, paymentType, couponCode, yohoCoin, skuList, activityInfo) => {
|
|
|
return shoppingAPI.orderComputeAPI(uid, cartType, deliveryWay, paymentType, couponCode, yohoCoin, skuList, activityInfo).then(result => {
|
|
|
if (result && result.data) {
|
|
|
result.data.use_yoho_coin = transPrice(result.data.use_yoho_coin);
|
|
|
result.data.yohoCoinCompute = _yohoCoinCompute(result.data);
|
...
|
...
|
@@ -205,8 +205,11 @@ exports.ticketsOrderCompute = (uid, productSku, buyNumber, yohoCoin) => { |
|
|
*/
|
|
|
exports.orderSub = (uid, addressId, cartType, deliveryTime,
|
|
|
deliveryWay, invoices, paymentId, paymentType, remark,
|
|
|
couponCode, yohoCoin, skuList, qhyUnio = '',
|
|
|
userAgent, times, activityInfo = null) => {
|
|
|
couponCode, yohoCoin, skuList, qhyUnio,
|
|
|
userAgent, times, activityInfo) => {
|
|
|
if (!qhyUnio) {
|
|
|
qhyUnio = '';
|
|
|
}
|
|
|
|
|
|
if (!userAgent) {
|
|
|
userAgent = null;
|
...
|
...
|
|