chenbo 4 éve%!(EXTRA string=óta)
szülő
commit
b2a5b5c8af
1 módosított fájl, 2 hozzáadás és 0 törlés
  1. 2 0
      lib/common/weixin_public.class.php

+ 2 - 0
lib/common/weixin_public.class.php

@@ -49,6 +49,8 @@ class weixin_public
         $url = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=".$this->appid
             ."&secret=".$this->seceret."&code=".$code."&grant_type=authorization_code";
 
+        return $url;
+
         $jsonInfo = file_get_contents($url);
         return json_decode($jsonInfo, true); //接受一个 JSON 格式的字符串并且把它转换为 PHP 变量
     }