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; } // 设置必填参数