diff --git a/home.html b/home.html index 0fb5180..9c1afac 100644 --- a/home.html +++ b/home.html @@ -83,7 +83,7 @@ - + diff --git a/js/pay.js b/js/pay.js index 94ccdfe..c430af3 100644 --- a/js/pay.js +++ b/js/pay.js @@ -575,6 +575,14 @@ var webAppClass = { // 使用以上方式判断前端返回,微信团队郑重提示: //res.err_msg将在用户支付成功后返回ok,但并不保证它绝对可靠。 window.location.href = webAppPayResult + "?trade_no=" + "success"; + + setTimeout(function(){ + window.history.go(-2); + //var src = mUrl.Uri+'/WEB-INF/pages/select.html?openid='+func.openid+'&token='+func.token+"&";//mUrl.myParkCardView; + //window.location.href = src; + },3000); + + } else if (res.err_msg == 'get_brand_wcpay_request:cancel') { window.location.href = webAppPayResult + "?trade_no=" + "fail"; } else {