Browse Source

test

master
用户名 3 years ago
parent
commit
4c8f6bf0dc
  1. 10
      mobile/plugins/payment/wxpay.php

10
mobile/plugins/payment/wxpay.php

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

Loading…
Cancel
Save