Browse Source

修复支付

zhengjinyi 4 years ago
parent
commit
44bfd12539
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/main/resources/static/js/pay/caimei-paycash.js

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

@@ -196,7 +196,6 @@ var payContainer = new Vue({
                                     orderID:_self.payInfo.PAY_ORDERID,
                                     payAmount:_self.payAmount
                             };
-                            console.log(orderInfo)
                             _self.payInfo.PAY_MOBILE_URL = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxea43a0f9ebce9e66&redirect_uri=https://www.caimei365.com/pay/wechatpay.html&response_type=code&scope=snsapi_base&state="+JSON.stringify(orderInfo)+"#wechat_redirect";
                             location.href = _self.payInfo.PAY_MOBILE_URL;
                         }else{
@@ -207,7 +206,7 @@ var payContainer = new Vue({
                                 url:_self.payInfo.PAY_MOBILE_URL
                             };
                             CAIMEI.Storage.setItem('PAY_DATA',JSON.stringify(_self.payInfo.PAY_DATA));
-                            window.open("/pay/caimei-paymobile.html?pageType=1");
+                            window.open("/pay/caimei-paymobile.html?pageType=0");
                             _self.isPayAlert = true;
                         }
                     }