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