shawenguan há 1 ano atrás
pai
commit
93c93c5b95
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      Scripts/hbcpre/hbcpreOrder.js

+ 2 - 2
Scripts/hbcpre/hbcpreOrder.js

@@ -156,7 +156,7 @@ async function tryQuickOrder() {
                     let payRet = null;
                     if (orderInfo) {
                         let walletPayInfo = await getPayChannels(1, orderInfo.worksId);
-                        payRet = await doOrderPay(walletPayInfo.payType);
+                        payRet = await doOrderPay(walletPayInfo.payType,buyRet.data.orderId);
                     }
                     if (payRet) {
                         let bOpenRet = await browserOpenUrl(payRet.paymentInfo);
@@ -238,7 +238,7 @@ async function tryNormalOrder() {
                         let payRet = null;
                         if (orderInfo) {
                             let walletPayInfo = await getPayChannels(1, orderInfo.worksId);
-                            payRet = await doOrderPay(walletPayInfo.payType);
+                            payRet = await doOrderPay(walletPayInfo.payType,buyRet.data.orderId);
                         }
                         if (payRet) {
                             let bOpenRet = await browserOpenUrl(payRet.paymentInfo);