wesmiler 3 tygodni temu
rodzic
commit
cab1d709f0
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      app/Services/Common/MemberService.php

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

@@ -102,7 +102,7 @@ class MemberService extends BaseService
 
         $total = $query->count();
         $list = $query->orderBy('create_time', 'desc')
-            ->with(['parent'])
+            ->with(['parent','agent'])
             ->withCount(['invites'])
             ->orderBy('id', 'desc')
             ->offset(($page - 1) * $limit)