Jelajahi Sumber

debug author

stanley-king 6 tahun lalu
induk
melakukan
07bf54dad0
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      helper/third_author/wxauthor.php

+ 1 - 1
helper/third_author/wxauthor.php

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