|
@@ -70,7 +70,7 @@ class wxauthor
|
|
'redirect_uri' => $back_url,
|
|
'redirect_uri' => $back_url,
|
|
'response_type' => 'code',
|
|
'response_type' => 'code',
|
|
'scope' => 'snsapi_userinfo',
|
|
'scope' => 'snsapi_userinfo',
|
|
- 'state' => urlencode(BASE_SITE_URL)];
|
|
|
|
|
|
+ 'state' => BASE_SITE_URL];
|
|
$ref_url = util::http_add_params(self::authorize_url,$params);
|
|
$ref_url = util::http_add_params(self::authorize_url,$params);
|
|
$ref_url .= '#wechat_redirect';
|
|
$ref_url .= '#wechat_redirect';
|
|
|
|
|