From 66277715095bfd04247a662a7fec34d3f813f409 Mon Sep 17 00:00:00 2001 From: lixiaoyu <1906596264@qq.com> Date: Fri, 22 Sep 2023 13:52:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E5=88=A4=E6=96=AD=E5=BE=AE?= =?UTF-8?q?=E4=BF=A1=E6=94=AF=E4=BB=98=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mobile/plugins/payment/wxpay.php | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/mobile/plugins/payment/wxpay.php b/mobile/plugins/payment/wxpay.php index 2193813..1ed97ed 100755 --- a/mobile/plugins/payment/wxpay.php +++ b/mobile/plugins/payment/wxpay.php @@ -132,7 +132,7 @@ class wxpay // 获取微信支付需要的其他参数 $payinfo = $response_data['payinfo']; $payinfo = json_decode($payinfo, true); - // var_dump($payinfo); + var_dump($payinfo); $appId = $payinfo['appId']; $timeStamp = $payinfo['timeStamp']; $nonceStr = $payinfo['nonceStr']; @@ -236,20 +236,7 @@ class wxpay ) }; function callpay() - { - console.log(123456); - console.log(typeof WeixinJSBridge); - - wx.miniProgram.getEnv(function(res) { - if(res.miniprogram){ - // true代表在小程序里 - console.log(4567893); - }else{ - //false代表在公众号里 - console.log(123486789); - } - }) - + { if (typeof WeixinJSBridge == "undefined") { if( document.addEventListener )