diff --git a/extend/payment/Weixin.php b/extend/payment/Weixin.php index 42756d7bd2e1c18c757b113a631b4ba1fcda5be1..335a27649c1db58a4b6f17bef611766c545fa701 100755 --- a/extend/payment/Weixin.php +++ b/extend/payment/Weixin.php @@ -577,7 +577,7 @@ class Weixin // 回调地址 $redirect_uri = urlencode(MyUrl('index/order/pay')); - $redirect_uri = urlencode('http://test.shopxo.net/index/order/pay.html'); + //$redirect_uri = urlencode('http://test.shopxo.net/index/order/pay.html'); // 授权code $url = 'https://open.weixin.qq.com/connect/oauth2/authorize?appid='.$this->config['appid'].'&redirect_uri='.$redirect_uri.'&response_type=code&scope=snsapi_base&state=callback#wechat_redirect';