From 3040ecbb6a7018c8e4a676eb66d8a24d21bbd565 Mon Sep 17 00:00:00 2001 From: lixiaoyu <1906596264@qq.com> Date: Sat, 23 Sep 2023 17:08:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E5=B0=8F=E7=A8=8B=E5=BA=8F?= =?UTF-8?q?=E6=94=AF=E4=BB=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mobile/plugins/payment/wxpay.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mobile/plugins/payment/wxpay.php b/mobile/plugins/payment/wxpay.php index ebf465f..53de26e 100755 --- a/mobile/plugins/payment/wxpay.php +++ b/mobile/plugins/payment/wxpay.php @@ -129,12 +129,11 @@ class wxpay $new_plugin = new dalianpay(); $response_data = $new_plugin->pay($this->encrypt("oLREy46WvzPicqoeEhvryvBRIo5E"), $order['order_sn'], $order_amount); - echo $response_data; + echo $response_data['data']; // 获取微信支付需要的其他参数 $payinfo = $response_data['payinfo']; $payinfo = json_decode($payinfo, true); - var_dump($payinfo['data']); exit(); // var_dump($response_data); $appId = $payinfo['appId'];