diff --git a/mobile/plugins/payment/wxpay.php b/mobile/plugins/payment/wxpay.php index 047e40e..7676bc4 100755 --- a/mobile/plugins/payment/wxpay.php +++ b/mobile/plugins/payment/wxpay.php @@ -143,8 +143,8 @@ class wxpay // $_SESSION['openid'] = 'oCTanxBeiVFWIekJT_GiPZM2UiGY'; //sc_test l or I } // $_SESSION['openid'] = 'oCTanxBeiVFWIekJT_GiPZM2UiGY'; - echo "openid: \r\n"; - var_dump($_SESSION['openid']); + // echo "openid: \r\n"; + // var_dump($_SESSION['openid']); $order_amount = $order['order_amount'] * 100; // 访问大连支付接口 @@ -178,7 +178,7 @@ class wxpay // } // } - echo "123546579\r\n"; + // echo "123546579\r\n"; // 调用大连支付接口 require_once(BASE_PATH . 'helpers/dalianpay/demo/dalianpay.php'); $new_plugin = new dalianpay(); @@ -268,6 +268,10 @@ class wxpay $jsApiParameters = json_encode($jsApiParameters); + // 接收回调front_url参数 + $front_url = $_SESSION['front_url']; + var_dump($front_url); + // wxjsbridge $js = '