From 5b332983b4280ed57423c8440adc6b08eaa25659 Mon Sep 17 00:00:00 2001 From: vine_liutk <961510893@qq.com> Date: Tue, 29 Aug 2023 12:42:38 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=88=97=E8=A1=A8=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Http/Controllers/Api/RegionController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Api/RegionController.php b/app/Http/Controllers/Api/RegionController.php index 82c5c89..65c6f1b 100644 --- a/app/Http/Controllers/Api/RegionController.php +++ b/app/Http/Controllers/Api/RegionController.php @@ -19,7 +19,7 @@ class RegionController extends Controller public function index(Request $request) { - $query = Region::with(['currentPlant'])->filter($request->all(), RegionFilter::class)->sort()->show(); + $query = Region::with(['currentPlant', 'monitorModes'])->filter($request->all(), RegionFilter::class)->sort()->show(); $list = $query->paginate($request->input('per_page'));