Commit 235d2efc by agan

修改跳转

parent 5406ec3e
Showing with 7 additions and 6 deletions
......@@ -540,6 +540,7 @@
});
}
function goPayDetail() {
var mOsStr = data.osStr || getNavigatorStr();
$(".gash-Point").on("click", function () {
sessionStorage.pay = "GASHP99PAY";
if (sessionStorage.uid != undefined) window.location.href = "gash-for.html" + window.location.search;
......@@ -580,7 +581,7 @@
})
$(".weipay").on("click", function () {
sessionStorage.pay = "WECHATPAY";
if (sessionStorage.uid != undefined) window.location.href = 'http://web.yazhaiyabo.com/footseen/wechatpay/payfor-new.html?uid=' + sessionStorage.uid + '&token=' + sessionStorage.token + '&lang=' + sessionStorage.lang + '&pay=' + sessionStorage.pay + '&payStatus=' + sessionStorage.payStatus + '&cidStr=' + sessionStorage.cidStr + '&osStr=' + getNavigatorStr() + '&os=' + data.os;
if (sessionStorage.uid != undefined) window.location.href = 'http://web.yazhaiyabo.com/footseen/wechatpay/payfor-new.html?uid=' + sessionStorage.uid + '&token=' + sessionStorage.token + '&lang=' + sessionStorage.lang + '&pay=' + sessionStorage.pay + '&payStatus=' + sessionStorage.payStatus + '&cidStr=' + sessionStorage.cidStr + '&osStr=' + mOsStr + '&os=' + data.os;
else window.location.href = 'login.html' + window.location.search;
})
$(".molpay").on("click", function () {
......@@ -626,32 +627,32 @@
$('.visapay').on('click', function () {
sessionStorage.pay = "PAYMENTWALL";
if (sessionStorage.uid != undefined) window.location.href = 'https://firefly.live/footseen/phonepay/visapay.html?uid=' + sessionStorage.uid + '&lang=' + sessionStorage.lang + '&pay=' + sessionStorage.pay + '&cidStr=' + sessionStorage.cidStr + '&osStr=' + getNavigatorStr() + '&os=' + data.os;
if (sessionStorage.uid != undefined) window.location.href = 'https://firefly.live/footseen/phonepay/visapay.html?uid=' + sessionStorage.uid + '&lang=' + sessionStorage.lang + '&pay=' + sessionStorage.pay + '&cidStr=' + sessionStorage.cidStr + '&osStr=' + mOsStr + '&os=' + data.os;
else window.location.href = 'login.html' + window.location.search;
})
//linepay
$('.linepay').on('click', function () {
sessionStorage.pay = 'LINE_PAY';
if (sessionStorage.uid != undefined) window.location.href = 'https://firefly.live/footseen/phonepay/visapay.html?uid=' + sessionStorage.uid + '&lang=' + sessionStorage.lang + '&pay=' + sessionStorage.pay + '&cidStr=' + sessionStorage.cidStr + '&osStr=' + getNavigatorStr() + '&os=' + data.os;
if (sessionStorage.uid != undefined) window.location.href = 'https://firefly.live/footseen/phonepay/visapay.html?uid=' + sessionStorage.uid + '&lang=' + sessionStorage.lang + '&pay=' + sessionStorage.pay + '&cidStr=' + sessionStorage.cidStr + '&osStr=' + mOsStr + '&os=' + data.os;
else window.location.href = 'login.html' + window.location.search;
})
//taiwanpay
$('.taiwanpay').on('click', function () {
sessionStorage.pay = 'TW_PAY';
if (sessionStorage.uid != undefined) window.location.href = 'https://firefly.live/footseen/phonepay/visapay.html?uid=' + sessionStorage.uid + '&lang=' + sessionStorage.lang + '&pay=' + sessionStorage.pay + '&cidStr=' + sessionStorage.cidStr + '&osStr=' + getNavigatorStr() + '&os=' + data.os;
if (sessionStorage.uid != undefined) window.location.href = 'https://firefly.live/footseen/phonepay/visapay.html?uid=' + sessionStorage.uid + '&lang=' + sessionStorage.lang + '&pay=' + sessionStorage.pay + '&cidStr=' + sessionStorage.cidStr + '&osStr=' + mOsStr + '&os=' + data.os;
else window.location.href = 'login.html' + window.location.search;
})
//jkopay
$('.jkopay').on('click', function () {
sessionStorage.pay = 'JKO_PAY';
if (sessionStorage.uid != undefined) window.location.href = 'https://firefly.live/footseen/phonepay/visapay.html?uid=' + sessionStorage.uid + '&lang=' + sessionStorage.lang + '&pay=' + sessionStorage.pay + '&cidStr=' + sessionStorage.cidStr + '&osStr=' + getNavigatorStr() + '&os=' + data.os;
if (sessionStorage.uid != undefined) window.location.href = 'https://firefly.live/footseen/phonepay/visapay.html?uid=' + sessionStorage.uid + '&lang=' + sessionStorage.lang + '&pay=' + sessionStorage.pay + '&cidStr=' + sessionStorage.cidStr + '&osStr=' + mOsStr + '&os=' + data.os;
else window.location.href = 'login.html' + window.location.search;
})
//新visa
$('.newvisapay').on('click', function () {
sessionStorage.pay = "GLOCASH_PAY";
if (sessionStorage.uid != undefined) window.location.href = 'https://firefly.live/footseen/phonepay/newvisapay.html?uid=' + sessionStorage.uid + '&token=' + sessionStorage.token + '&lang=' + sessionStorage.lang + '&pay=' + sessionStorage.pay + '&cidStr=' + sessionStorage.cidStr + '&osStr=' + getNavigatorStr() + '&os=' + data.os;
if (sessionStorage.uid != undefined) window.location.href = 'https://firefly.live/footseen/phonepay/newvisapay.html?uid=' + sessionStorage.uid + '&token=' + sessionStorage.token + '&lang=' + sessionStorage.lang + '&pay=' + sessionStorage.pay + '&cidStr=' + sessionStorage.cidStr + '&osStr=' + mOsStr + '&os=' + data.os;
else window.location.href = 'login.html' + window.location.search;
})
}
......
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