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