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