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'];