Commit 85f7c4ed by agan

xg

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