From 8dfc1b6282dc03ca03f3ec7453e383dd2f86cb99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=A8=E6=88=B7=E5=90=8D?= <邮箱> Date: Fri, 4 Aug 2023 09:33:30 +0800 Subject: [PATCH] after update jsapiparameters, uncomment some lines --- 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 352e6df..208504b 100755 --- a/mobile/plugins/payment/wxpay.php +++ b/mobile/plugins/payment/wxpay.php @@ -181,7 +181,6 @@ class wxpay $new_plugin = new dalianpay(); $response_data = $new_plugin->pay($this->encrypt($_SESSION['openid']), $order['order_sn'], $order_amount); echo $response_data; - // $response_data = json_decode($response_data); // 获取微信支付需要的其他参数 $payinfo = $response_data['payinfo']; @@ -202,7 +201,7 @@ class wxpay $prepay_id = $map['prepay_id']; // var_dump($prepay_id); // echo "payinfo: " . $payinfo; - // var_dump($payinfo); + var_dump($payinfo); // var_dump($package); // echo "1234";