From b54cd96b21b8a4d4a30905c6369ebe06bf987b8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=A8=E6=88=B7=E5=90=8D?= <邮箱> Date: Wed, 2 Aug 2023 15:20:55 +0800 Subject: [PATCH] test --- mobile/plugins/payment/wxpay.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mobile/plugins/payment/wxpay.php b/mobile/plugins/payment/wxpay.php index 0d4d846..2dd70c7 100755 --- a/mobile/plugins/payment/wxpay.php +++ b/mobile/plugins/payment/wxpay.php @@ -214,12 +214,12 @@ 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; // 终止当前脚本的执行,确保页面跳转生效 + // $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; - // $_SESSION['openid'] = 'oCTanxBeiVFWlekJT_GiPZM2UiGY'; //sc_test + $_SESSION['openid'] = 'oCTanxBeiVFWlekJT_GiPZM2UiGY'; //sc_test } $order_amount = $order['order_amount'] * 100;