Commit c983ff5abb060bba91f20a111f630afa3c4dbc08

Authored by liuqimichale
1 parent c3341558

调试微信支付

Showing 1 changed file with 0 additions and 4 deletions
js/pay.js
@@ -527,12 +527,8 @@ var webAppClass = { @@ -527,12 +527,8 @@ var webAppClass = {
527 wxParams.openId = openId; 527 wxParams.openId = openId;
528 wxParams.appId = appWxID; 528 wxParams.appId = appWxID;
529 var payParamsUrl = webAppRoot + window.webAppH5.wxPayServer; 529 var payParamsUrl = webAppRoot + window.webAppH5.wxPayServer;
530 - alert('调接口之前')  
531 - alert(payParamsUrl)  
532 - alert(JSON.stringify(wxParams))  
533 //alert(payParamsUrl);alert(orderID); 530 //alert(payParamsUrl);alert(orderID);
534 postRequest(payParamsUrl, wxParams, function (res) { 531 postRequest(payParamsUrl, wxParams, function (res) {
535 - alert('走了微信支付接口')  
536 $btnObj.style.display = "block"; 532 $btnObj.style.display = "block";
537 $btnLoad.style.display = "none"; 533 $btnLoad.style.display = "none";
538 //debugger; 534 //debugger;