diff --git a/mobile/plugins/payment/wxpay.php b/mobile/plugins/payment/wxpay.php index 94f4113..976bc69 100755 --- a/mobile/plugins/payment/wxpay.php +++ b/mobile/plugins/payment/wxpay.php @@ -150,13 +150,13 @@ class wxpay // var_dump($url); // $_SESSION['prev_url'] = $url; // var_dump($_SESSION['prev_url']); - // header('Location: https://shop.heavenk.com/mobile/dalianpay/demo/pay.php?openid=' . - // $this->encrypt($_SESSION['openid']) . - // '&reqsn=' . $order['order_sn'] . - // '&trxamt=' . $order_amount - // ); + header('Location: https://shop.heavenk.com/mobile/source/helpers/dalianpay/demo/pay.php?openid=' . + $this->encrypt($_SESSION['openid']) . + '&reqsn=' . $order['order_sn'] . + '&trxamt=' . $order_amount + ); // // header('Location: https://www.baidu.com'); - // exit; // 终止当前脚本的执行,确保页面跳转生效 + exit; // 终止当前脚本的执行,确保页面跳转生效 // echo "Hi there........\r\n";