Commit 47a97fec by libai

测试

parent 81ffd120
Showing with 18 additions and 17 deletions
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
window.dataLayer = window.dataLayer || []; window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);} function gtag(){dataLayer.push(arguments);}
gtag('js', new Date()); gtag('js', new Date());
gtag('config', 'G-QT401FZZ2K'); gtag('config', 'G-QT401FZZ2K');
</script> </script>
<script> <script>
......
...@@ -571,29 +571,29 @@ $(function(){ ...@@ -571,29 +571,29 @@ $(function(){
} }
break; break;
case "GLOCASH_PAY": case "GLOCASH_PAY":
if (flag) { if (flag) {
$.ajax({ $.ajax({
url:"https://webserver.yabolive.net/pay/toGloCashPay.html", url:"https://webserver.yabolive.net/pay/toGloCashPay.html",
type: "POST", type: "POST",
data: { data: {
uid: regUid, uid: regUid,
country: '86', country: '86',
rid: sessionStorage.rid, rid: sessionStorage.rid,
amount: sessionStorage.money, amount: sessionStorage.money,
returnUrl: 'https://firefly.live/h5pay/phonepay/paySuccess.html?lang=2', returnUrl: 'https://firefly.live/h5pay/phonepay/paySuccess.html?lang=2',
failureUrl: 'https://firefly.live/h5pay/phonepay/payFail.html?lang=2', failureUrl: 'https://firefly.live/h5pay/phonepay/payFail.html?lang=2',
email: sessionStorage.email || '', email: sessionStorage.email || '',
product: "賬戶儲值", product: "賬戶儲值",
payType: sessionStorage.pay, payType: sessionStorage.pay,
os: 'pc_web', os: 'pc_web',
cid: 'Web_footseen', cid: 'Web_footseen',
vest: 0, vest: 0,
lang: 2, lang: 2,
}, },
success: function (res) { success: function (res) {
var _self=$(this) var _self=$(this)
if (res.code == 1) { if (res.code == 1) {
// window.location.href = res.url; // window.location.href = res.url;
window.location.href='https://firefly.live/footseenPay/index.html?goUrl='+_self[0].url window.location.href='https://firefly.live/footseenPay/index.html?goUrl='+_self[0].url
} else { } else {
layer.msg(res.msg); layer.msg(res.msg);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment