Commit 85f7c4ed by agan

xg

parent 3fd84348
Showing with 4 additions and 3 deletions
...@@ -368,10 +368,11 @@ ...@@ -368,10 +368,11 @@
payType: sessionStorage.pay, payType: sessionStorage.pay,
}, },
success: function (res) { success: function (res) {
if (res.code == 1) { var data = JSON.parse(res);
window.location.href = res.url; if (data.code == 1) {
window.location.href = data.url;
} else { } else {
layer.msg(res.msg); layer.msg(data.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