wesmiler hai 3 semanas
pai
achega
cab1d709f0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)