Kaynağa Gözat

fix公众号粉碎数

zhaoyang 1 yıl önce
ebeveyn
işleme
3302189a34

+ 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->officialAccount($item->authorizer_appid);
+                $officialAccount = $application->officialAccount($item->authorizer_appid,$item->authorizer_refresh_token);
                 $users = $officialAccount->user->list();  // $n
                 $item->fans_count = $users['total'];
             }catch(Exception $e){