diff --git a/view/peko/modules/pay/js/index.js b/view/peko/modules/pay/js/index.js index d9a7a8f..ee27b46 100644 --- a/view/peko/modules/pay/js/index.js +++ b/view/peko/modules/pay/js/index.js @@ -127,6 +127,8 @@ $(function () { } else { console.log(countryCode) console.log('payMoney',payMoney); + // 点击充值埋点 + chargeFinish(payMoney) networkRequest({ type: 'POST', url: urlPrefix + '/charge/apply2New', @@ -136,8 +138,6 @@ $(function () { console.log(res) $('.logingActive').text("請稍等");//"" $('.logingActive').show(); - // 充值成功埋点 - chargeFinish(payMoney) window.location.href = res.data.payInfo.mweb_url; } else { logingFun(res.message)