소스 검색

Merge branch 'feature-wechat' of qk:zy_duanju/duanju_manage into test

admin 1 년 전
부모
커밋
1e72698c62
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->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){