From 5206fa87d73ed6f17167a38a1adee81e3f22190c Mon Sep 17 00:00:00 2001 From: liuqimichale <123456lq> Date: Thu, 14 Nov 2019 21:31:15 +0800 Subject: [PATCH] 调试微信支付 --- home.html | 2 +- js/pay.js | 5 ++++- list.html | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/home.html b/home.html index 9c1afac..5b45cd0 100644 --- a/home.html +++ b/home.html @@ -83,7 +83,7 @@ - + diff --git a/js/pay.js b/js/pay.js index c430af3..f4b4fde 100644 --- a/js/pay.js +++ b/js/pay.js @@ -574,8 +574,11 @@ var webAppClass = { if (res.err_msg == "get_brand_wcpay_request:ok") { // 使用以上方式判断前端返回,微信团队郑重提示: //res.err_msg将在用户支付成功后返回ok,但并不保证它绝对可靠。 - window.location.href = webAppPayResult + "?trade_no=" + "success"; + + + //window.location.href = webAppPayResult + "?trade_no=" + "success"; + window.history.go(-2); setTimeout(function(){ window.history.go(-2); //var src = mUrl.Uri+'/WEB-INF/pages/select.html?openid='+func.openid+'&token='+func.token+"&";//mUrl.myParkCardView; diff --git a/list.html b/list.html index 0dff53f..e077ade 100644 --- a/list.html +++ b/list.html @@ -183,6 +183,6 @@ } })(); - + -- libgit2 0.21.4