bug修复

master
chenzhi 5 years ago
parent 8e766a4fe9
commit 3137d52d28

@ -543,15 +543,18 @@
url: "{:U('WapPay/shortcut_pay')}" ,
data: $('#wfform').serialize(),
success: function (result) {
btnpay = false;
//处理结果
if(result.status == 0){
Tip.msgShow(result.info);
}else if(result.status == 1){
window.location.href = result.url;
}else{
Tip.msgShow('未知信息');
}
//TODO: 支付成功跳转
console.log(result)
},
error: function() {
btnpay = false;
Tip.msgShow('网络请求异常,请稍后再试');
}
});

Loading…
Cancel
Save