...
|
...
|
@@ -37,8 +37,6 @@ const BUNDLE_PRODUCE = 2; // 量贩 |
|
|
const BUNDLE_PACKAGE = 1; // 套餐
|
|
|
const tdk = require('../../../utils/getTDK');
|
|
|
|
|
|
const YOHOOD_TICKET = [512579818, 512579820];
|
|
|
|
|
|
const _getProductAdditionInfoAsync = (data) => {
|
|
|
return co(function * () {
|
|
|
let productId = _.get(data, 'product_id', 0);
|
...
|
...
|
@@ -1382,13 +1380,13 @@ const _detailDataPkg = (origin, uid, vipLevel, cookies) => { |
|
|
};
|
|
|
}
|
|
|
|
|
|
// 电子票
|
|
|
result.isTicket = _.includes(YOHOOD_TICKET, propOrigin('product_skn'));
|
|
|
// 虚拟商品目前只有电子票
|
|
|
result.isTicket = virtualGoods;
|
|
|
|
|
|
if (virtualGoods && result.isTicket) {
|
|
|
// 虚拟商品
|
|
|
result.buyNow = true; // 是否立即购买
|
|
|
result.buyNowBase = helpers.urlFormat('/ticket', null, 'shopping');
|
|
|
result.buyNowBase = helpers.urlFormat('/cart/ticketEnsure');
|
|
|
if (result.salePrice) {
|
|
|
result.advancePrice = result.salePrice; // 先行价格
|
|
|
delete result.salePrice;
|
...
|
...
|
|