diff --git a/mobile/plugins/payment/wxpay.php b/mobile/plugins/payment/wxpay.php index e97d027..cfcf763 100755 --- a/mobile/plugins/payment/wxpay.php +++ b/mobile/plugins/payment/wxpay.php @@ -190,11 +190,11 @@ class wxpay // $openid = $this->get_openid(); // 将当前页面url保存到$_SESSION中,供其他页面跳转 - // $url = "https://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; - // $_SESSION['prev_url'] = $url; - // header('Location: https://shop.heavenk.com/mobile/blank.php'); - // exit; // 终止当前脚本的执行,确保页面跳转生效 - // $_SESSION['openid'] = $openid; + $url = "https://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; + $_SESSION['prev_url'] = $url; + header('Location: https://shop.heavenk.com/mobile/blank.php'); + exit; // 终止当前脚本的执行,确保页面跳转生效 + $_SESSION['openid'] = $openid; } // 访问大连支付接口