|
@@ -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){
|