Showing
4 changed files
with
18 additions
and
0 deletions
@@ -14623,6 +14623,7 @@ function submitOrder() { | @@ -14623,6 +14623,7 @@ function submitOrder() { | ||
14623 | tip.show('系统繁忙,请稍后再试!'); | 14623 | tip.show('系统繁忙,请稍后再试!'); |
14624 | return; | 14624 | return; |
14625 | } | 14625 | } |
14626 | + | ||
14626 | if (res.code === 200) { | 14627 | if (res.code === 200) { |
14627 | if (payType === 2) { | 14628 | if (payType === 2) { |
14628 | 14629 | ||
@@ -14631,6 +14632,23 @@ function submitOrder() { | @@ -14631,6 +14632,23 @@ function submitOrder() { | ||
14631 | } else { | 14632 | } else { |
14632 | url = '/home/orders/pay?order_code=' + res.data.order_code; | 14633 | url = '/home/orders/pay?order_code=' + res.data.order_code; |
14633 | } | 14634 | } |
14635 | + | ||
14636 | + /* tar add 161116 */ | ||
14637 | + if (window._yas && window._yas.sendCustomInfo) { | ||
14638 | + window._yas.sendCustomInfo({ | ||
14639 | + param: JSON.stringify({ | ||
14640 | + op: 'YB_SC_TOPAY_CLICK', | ||
14641 | + param: JSON.stringify({ | ||
14642 | + C_ID: window._ChannelVary[cookie('_Channel')], | ||
14643 | + ORDER_CODE: res.data.order_code, | ||
14644 | + PRD_NUM: $('#goods-num').val(), | ||
14645 | + ORDER_AMOUNT: res.data.order_amount, | ||
14646 | + UNIONCOOKIE: res.data.unionCookie, | ||
14647 | + }) | ||
14648 | + }) | ||
14649 | + }, true); | ||
14650 | + } | ||
14651 | + | ||
14634 | window.setCookie('order-info', ''); | 14652 | window.setCookie('order-info', ''); |
14635 | window.location.href = url; | 14653 | window.location.href = url; |
14636 | } else if (res.message) { | 14654 | } else if (res.message) { |
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
-
Please register or login to post a comment