wesmiler 2 месяцев назад
Родитель
Сommit
34a405f9f5
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/Services/Common/MemberService.php

+ 1 - 1
app/Services/Common/MemberService.php

@@ -105,7 +105,7 @@ class MemberService extends BaseService
             });
         }
 
-        $total = $query->count();
+        $total = $query->count('a.id');
         $list = $query->withCount(['invites'])
             ->orderBy('a.create_time', 'desc')
             ->orderBy('a.id', 'desc')