Authored by 郭成尧

yas-point

... ... @@ -333,25 +333,23 @@ function submitOrder(times) {
$('.order-good').each(function() {
PRD_SKN.push($(this).data('id'));
PRD_SKU.push($(this).data('skn'));
})
});
/* tar add 161116 */
setTimeout(function() {
if (window._yas && window._yas.sendCustomInfo) {
window._yas.sendCustomInfo({
op: 'YB_SC_TOPAY_CLICK',
param: JSON.stringify({
C_ID: window._ChannelVary[cookie('_Channel')],
ORDER_CODE: res.data.order_code,
PRD_NUM: $('#goods-num').val(),
ORDER_AMOUNT: res.data.order_amount,
UNIONCOOKIE: res.data.unionCookie || '',
PRD_SKN: PRD_SKN.join(','),
PRD_SKU: PRD_SKU.join(',')
})
}, true);
}
}, 300)
if (window._yas && window._yas.sendCustomInfo) {
window._yas.sendCustomInfo({
op: 'YB_SC_TOPAY_CLICK',
param: JSON.stringify({
C_ID: window._ChannelVary[cookie('_Channel')],
ORDER_CODE: res.data.order_code,
PRD_NUM: $('#goods-num').val(),
ORDER_AMOUNT: res.data.order_amount,
UNIONCOOKIE: res.data.unionCookie || '',
PRD_SKN: PRD_SKN.join(','),
PRD_SKU: PRD_SKU.join(',')
})
}, true);
}
window.setCookie('order-info', '');
window.location.href = url;
... ...