houxiaohua преди 2 месеца
родител
ревизия
8f3def3f94
променени са 1 файла, в които са добавени 1 реда и са изтрити 2 реда
  1. 1 2
      app/Service/ChatGroup/ChatGroupService.php

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

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