From 5dcf214268c1b308c20cf95b90dbfffa7b4c412a Mon Sep 17 00:00:00 2001 From: lixiaoyu <1906596264@qq.com> Date: Sat, 23 Sep 2023 17:07:49 +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 | 2 +- mobile/source/helpers/dalianpay/demo/dalianpay.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/mobile/plugins/payment/wxpay.php b/mobile/plugins/payment/wxpay.php index 5dfaeeb..ebf465f 100755 --- a/mobile/plugins/payment/wxpay.php +++ b/mobile/plugins/payment/wxpay.php @@ -134,7 +134,7 @@ class wxpay // 获取微信支付需要的其他参数 $payinfo = $response_data['payinfo']; $payinfo = json_decode($payinfo, true); - var_dump($payinfo); + var_dump($payinfo['data']); exit(); // var_dump($response_data); $appId = $payinfo['appId']; diff --git a/mobile/source/helpers/dalianpay/demo/dalianpay.php b/mobile/source/helpers/dalianpay/demo/dalianpay.php index 00abc44..ff25980 100644 --- a/mobile/source/helpers/dalianpay/demo/dalianpay.php +++ b/mobile/source/helpers/dalianpay/demo/dalianpay.php @@ -166,7 +166,6 @@ class dalianpay{ // 'sub_appid' => $config['sub_appid'], 'front_url' => $config['front_url'], // 支付完成跳转 ); - echo $trade_data; // echo "\r\n test \r\n"; // 传回front_url回调地址