Ver Código Fonte

获取群主列表

houxiaohua 2 semanas atrás
pai
commit
f8525bfdd6
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      app/Service/ChatGroup/ChatGroupService.php

+ 1 - 1
app/Service/ChatGroup/ChatGroupService.php

@@ -271,7 +271,7 @@ class ChatGroupService
271 271
             if(empty($accountList)) return [];
272 272
 
273 273
             $corpidList = $accountList->pluck('corpid');
274
-            $ownerList = ChatGroup::select('corpid', 'owner')->where('status', 1)->get();
274
+            $ownerList = ChatGroup::get();
275 275
             var_dump($ownerList);die;
276 276
             $data = [];
277 277
             foreach ($accountList as $account) {