wesmiler il y a 2 mois
Parent
commit
34a405f9f5
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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')