wesmiler 2 tháng trước cách đây
mục cha
commit
cab1d709f0
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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)