@ -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() {
Tip.msgShow('网络请求异常,请稍后再试');
});