wesmiler 3 月之前
父節點
當前提交
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')