Selaa lähdekoodia

获取群主列表

houxiaohua 2 kuukautta sitten
vanhempi
commit
c3407eda2c
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      app/Service/ChatGroup/ChatGroupService.php

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

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