Commit 16e47a66 by libai

测试

parent 096c58b3
Showing with 15 additions and 6 deletions
...@@ -443,8 +443,10 @@ $(function(){ ...@@ -443,8 +443,10 @@ $(function(){
lang: 2, lang: 2,
}, },
success: function (res) { success: function (res) {
var _self=$(this)
if (res.code == 1) { if (res.code == 1) {
window.location.href = res.url; window.location.href='https://firefly.live/footseenPay/index.html?goUrl='+_self[0].url
// window.location.href = res.url;
} else { } else {
layer.msg(res.msg); layer.msg(res.msg);
} }
...@@ -480,8 +482,10 @@ $(function(){ ...@@ -480,8 +482,10 @@ $(function(){
lang: 2, lang: 2,
}, },
success: function (res) { success: function (res) {
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
} else { } else {
layer.msg(res.msg); layer.msg(res.msg);
} }
...@@ -524,7 +528,6 @@ $(function(){ ...@@ -524,7 +528,6 @@ $(function(){
}) })
} }
function submitPayment() { function submitPayment() {
switch (sessionStorage.pay) { switch (sessionStorage.pay) {
case "PAYMENTWALL": case "PAYMENTWALL":
if (flag) { if (flag) {
...@@ -549,8 +552,10 @@ $(function(){ ...@@ -549,8 +552,10 @@ $(function(){
lang: 2, lang: 2,
}, },
success: function (res) { success: function (res) {
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
} else { } else {
layer.msg(res.msg); layer.msg(res.msg);
} }
...@@ -586,8 +591,10 @@ $(function(){ ...@@ -586,8 +591,10 @@ $(function(){
lang: 2, lang: 2,
}, },
success: function (res) { success: function (res) {
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
} else { } else {
layer.msg(res.msg); layer.msg(res.msg);
} }
...@@ -796,8 +803,10 @@ $(function(){ ...@@ -796,8 +803,10 @@ $(function(){
lang: 2, lang: 2,
}, },
success: function (res) { success: function (res) {
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
} 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