Selaa lähdekoodia

微信H5 支付

zhengjinyi 3 vuotta sitten
vanhempi
commit
91917c3195
1 muutettua tiedostoa jossa 1 lisäystä ja 2 poistoa
  1. 1 2
      src/main/resources/static/js/pay/caimei-paymobile.js

+ 1 - 2
src/main/resources/static/js/pay/caimei-paymobile.js

@@ -153,8 +153,7 @@ var payContainer = new Vue({
             }
             // _self.payInfo.payMobileUrl = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx91c4152b60ca91a3&redirect_uri=https://www-b.caimei365.com/pay/wechatpay.html&response_type=code&scope=snsapi_base&state="+JSON.stringify(orderInfo)+"#wechat_redirect";
             _self.payInfo.payMobileUrl = 'https://www-b.caimei365.com/wxcode.html?orderInfo='+encodeURIComponent(JSON.stringify(orderInfo));
-            console.log(_self.payInfo.payMobileUrl);
-            window.open(_self.payInfo.payMobileUrl)
+            // console.log(_self.payInfo.payMobileUrl);
             var qrcode = new QRCode(document.getElementById("wx_pay_container"), {
                 render: "canvas", //也可以替换为table
                 text: _self.payInfo.payMobileUrl,