Browse Source

Merge branch 'liuzj-1001016-dev' into test

liuzejian 1 year ago
parent
commit
c29b6751b0
1 changed files with 0 additions and 6 deletions
  1. 0 6
      app/Jobs/WechatPlatform/GZHSendKFMessage.php

+ 0 - 6
app/Jobs/WechatPlatform/GZHSendKFMessage.php

@@ -126,12 +126,6 @@ class GZHSendKFMessage implements ShouldQueue
      * @param $officialAccount Application
      */
     private function getUserOpenids($officialAccount, $next_openid) {
-        $result = $officialAccount->getClient()
-            ->get('cgi-bin/user/get', [
-                'query' => [
-                    'next_openid' => $next_openid,
-                ]
-            ])->toArray();
         $result = $officialAccount->user->list($next_openid);
 
         if(0 != ($result['errcode'] ?? 0)) {