From adab27e853c021b938daaabcdcec854eae28290f Mon Sep 17 00:00:00 2001 From: liuqimichale <123456lq> Date: Wed, 13 Nov 2019 18:42:43 +0800 Subject: [PATCH] 签名 --- home.html | 2 +- js/pay.js | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) 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, -- libgit2 0.21.4