From 2bf68bd195d48dd292cc1b4de36b48b0ebc6cbd4 Mon Sep 17 00:00:00 2001 From: TL Date: Thu, 30 Jun 2022 10:15:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8E=E5=8F=B0=E9=A1=BE=E5=AE=A2=E7=AE=A1?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- beike/Repositories/CustomerGroupRepo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;