...
|
...
|
@@ -2,6 +2,7 @@ |
|
|
|
|
|
const api = global.yoho.API;
|
|
|
const helpers = global.yoho.helpers;
|
|
|
const _ = require('lodash');
|
|
|
|
|
|
// 展览票(单日票)skn
|
|
|
const SINGLE_TICKETS_SKN = 51335912;
|
...
|
...
|
@@ -14,8 +15,6 @@ const checkTickets = (param) => { |
|
|
buy_number: param.buyNumber,
|
|
|
use_yoho_coin: param.useYohoCoin || 0,
|
|
|
yoho_coin_mode: param.yohoCoinMode ? param.yohoCoinMode : 0
|
|
|
}, {
|
|
|
code: 200
|
|
|
}).then((result) => {
|
|
|
return result;
|
|
|
});
|
...
|
...
|
@@ -71,7 +70,7 @@ const ticketsConfirm = (param) => { |
|
|
orderEnsurePage: true
|
|
|
};
|
|
|
|
|
|
if (result && result[0] && result[0].data) {
|
|
|
if (_.get(result, '[0].data.goods_list', false)) {
|
|
|
let bulid = [];
|
|
|
|
|
|
result[0].data.goods_list.forEach((val) => {
|
...
|
...
|
|