From 15609a7305955a9d39fe25ad27d83e77bad24388 Mon Sep 17 00:00:00 2001 From: lixiaoyu <1906596264@qq.com> Date: Sat, 23 Sep 2023 17:03:57 +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 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/mobile/plugins/payment/wxpay.php b/mobile/plugins/payment/wxpay.php index 54fa2ba..5dfaeeb 100755 --- a/mobile/plugins/payment/wxpay.php +++ b/mobile/plugins/payment/wxpay.php @@ -128,13 +128,14 @@ class wxpay require_once(BASE_PATH . 'helpers/dalianpay/demo/dalianpay.php'); $new_plugin = new dalianpay(); $response_data = $new_plugin->pay($this->encrypt("oLREy46WvzPicqoeEhvryvBRIo5E"), $order['order_sn'], $order_amount); - var_dump($response_data['error']); - exit(); - // echo $response_data; + + echo $response_data; // 获取微信支付需要的其他参数 $payinfo = $response_data['payinfo']; $payinfo = json_decode($payinfo, true); + var_dump($payinfo); + exit(); // var_dump($response_data); $appId = $payinfo['appId']; $timeStamp = $payinfo['timeStamp'];