wesmiler 1 неделя назад
Родитель
Сommit
9bf5731c77
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/Services/Api/MessageService.php

+ 1 - 1
app/Services/Api/MessageService.php

@@ -180,7 +180,7 @@ class MessageService extends BaseService
             ->groupBy('type')
             ->first();
         $counts = $counts?$counts->toArray() :[];
-        var_dump($datas);
+        var_dump($counts);
         if($counts){
             foreach ($counts as $item){
                 $type = isset($item['type'])?$item['type']:0;