chenbo před 4 roky
rodič
revize
ad4786f4b6
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      lib/common/weixin_public.class.php

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

@@ -65,6 +65,8 @@ class weixin_public
         //$jsonInfo = iconv('ISO-8859-1', 'UTF-8', $jsonInfo);
         $rs = json_decode($jsonInfo, true); //接受一个 JSON 格式的字符串并且把它转换为 PHP 变量
 
+        return $rs;
+        
         $attr['country']    = $rs['country'];
         $attr['province']   = $rs['province'];
         $attr['city']       = $rs['city'];