diff --git a/home.html b/home.html index 0d76843..e406efc 100644 --- a/home.html +++ b/home.html @@ -83,7 +83,7 @@ - + diff --git a/js/pay.js b/js/pay.js index d964f2e..576a300 100644 --- a/js/pay.js +++ b/js/pay.js @@ -203,12 +203,13 @@ var webAppClass = { //确定支付 okPay: function (params) { - var orderID = params.orderId;//订单号 + var orderID = webAppParams.orderId;//订单号 + // alert(orderID) //var moneyID = document.getElementById("sumMoney").innerHTML = webAppParams.orderId;//订单号 var val = document.getElementById("sumMoney").innerText; //var couponPersonId = document.getElementById("discountBox").value; var url = webAppRoot + window.webAppH5.zeroPayServer; - alert(webAppParams.orderId) + var discountParams = { payOrderType : 101, terminalSource:7,