...
|
...
|
@@ -178,12 +178,13 @@ exports.ticketsOrderCompute = (uid, productSku, buyNumber, yohoCoin) => { |
|
|
* @param string|null $userAgent 联盟过来用户下单时需要的User-Agent信息
|
|
|
* @param int $times
|
|
|
* @param null $activityInfo 套餐数据
|
|
|
* @param isWechat 是否是微信商城
|
|
|
* @return array 接口返回的数据
|
|
|
*/
|
|
|
exports.orderSub = (uid, addressId, cartType, deliveryTime,
|
|
|
deliveryWay, invoices, paymentId, paymentType, remark,
|
|
|
couponCode, yohoCoin, skuList, qhyUnio,
|
|
|
userAgent, times, activityInfo, ip) => {
|
|
|
userAgent, times, activityInfo, ip, isWechat) => {
|
|
|
if (!qhyUnio) {
|
|
|
qhyUnio = '';
|
|
|
}
|
...
|
...
|
@@ -215,7 +216,7 @@ exports.orderSub = (uid, addressId, cartType, deliveryTime, |
|
|
return shoppingAPI.orderSub(uid, addressId, cartType, deliveryTime,
|
|
|
deliveryWay, invoices, paymentId, paymentType,
|
|
|
remark, couponCode, yohoCoin, skuList, qhyUnio,
|
|
|
userAgent, times, activityInfo, ip).then(orderSubRes => {
|
|
|
userAgent, times, activityInfo, ip, isWechat).then(orderSubRes => {
|
|
|
let finalResult = {};
|
|
|
|
|
|
if (orderSubRes && orderSubRes.data && orderSubRes.data.is_hint === 'Y') {
|
...
|
...
|
|