浏览代码

公众号粉丝数

zhaoyang 1 年之前
父节点
当前提交
fa8f2ba46e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      modules/WechatPlatform/Http/Controllers/WechatAuthorizationInfoController.php

+ 1 - 1
modules/WechatPlatform/Http/Controllers/WechatAuthorizationInfoController.php

@@ -65,7 +65,7 @@ class WechatAuthorizationInfoController extends CatchController
                 if($response->isSuccessful()){
                     $item->fans_count = $response['total'];
                 }*/
-                $officialAccount = $application->getAuthorizer($item->authorizer_appid);
+                $officialAccount = $application->officialAccount($item->authorizer_appid);
                 $users = $officialAccount->user->list();  // $n
                 $item->fans_count = $users['total'];
             }catch(Exception $e){