diff --git a/beike/Repositories/CustomerGroupRepo.php b/beike/Repositories/CustomerGroupRepo.php index 3055c716..0b66aa24 100644 --- a/beike/Repositories/CustomerGroupRepo.php +++ b/beike/Repositories/CustomerGroupRepo.php @@ -63,7 +63,7 @@ class CustomerGroupRepo public static function list() { - $builder = CustomerGroup::query()->with('description'); + $builder = CustomerGroup::query()->with('description', 'descriptions'); $groups = $builder->get(); return $groups;