From 48e4a10ccf04f41690c01c50915a942378d1acc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=A8=E6=88=B7=E5=90=8D?= <邮箱> Date: Tue, 1 Aug 2023 13:05:45 +0800 Subject: [PATCH] test --- mobile/plugins/payment/wxpay.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mobile/plugins/payment/wxpay.php b/mobile/plugins/payment/wxpay.php index f8ae091..8fb4044 100755 --- a/mobile/plugins/payment/wxpay.php +++ b/mobile/plugins/payment/wxpay.php @@ -112,7 +112,7 @@ class wxpay { $appid = 'wx79343915f99167e6'; $appsecret = 'f2f72c5e0ac29c2373bfaf22cf059c02'; - $redirect_uri = 'https://shop.heavenk.com/mobile/plugins/payment/wxpay.php?code=CODE&state=STATE'; // 回调URL + $redirect_uri = 'https://shop.heavenk.com/mobile/plugins/payment/wxpay.php'; // 回调URL // 构造授权链接 $auth_url = 'https://open.weixin.qq.com/connect/oauth2/authorize' @@ -187,8 +187,8 @@ class wxpay // $_SESSION['openid'] = 'sdf4asgdf2ag1'; // return false; - $openid = $this->get_openid(); - $_SESSION['openid'] = $openid; + // $openid = $this->get_openid(); + // $_SESSION['openid'] = $openid; } // 设置必填参数