Browse Source

修改bug

chenbo 4 years ago
parent
commit
3d7509e27b
2 changed files with 1044 additions and 3 deletions
  1. 0 3
      api/wxinfo.php
  2. 1044 0
      lib/common/weixin.class.php

+ 0 - 3
api/wxinfo.php

@@ -10,9 +10,6 @@ try {
     $weixin_public = new weixin_public(APPID, APPSECRET, APPURI);
     $info = $weixin_public->getAllInfo($code);
 
-    echo action_msg($info, 300);
-    exit;
-
     if (empty($info['openid'])) {
         echo action_msg($info['errmsg'], $info['errcode']);
         exit;

File diff suppressed because it is too large
+ 1044 - 0
lib/common/weixin.class.php