From 86248751bd332e8c2111f2be9a3c898f67dc7eeb Mon Sep 17 00:00:00 2001 From: ctexthuang Date: Mon, 24 Mar 2025 17:29:43 +0800 Subject: [PATCH] feat : caterer --- app/Service/Admin/System/CatererService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Service/Admin/System/CatererService.php b/app/Service/Admin/System/CatererService.php index b699bfa..797803c 100644 --- a/app/Service/Admin/System/CatererService.php +++ b/app/Service/Admin/System/CatererService.php @@ -81,7 +81,7 @@ class CatererService extends BaseService public function edit(): array { $userId = (int)$this->request->input('user_id'); - $kitchenId = $this->request->input('kitchen_id'); + $kitchenId = (int)$this->request->input('kitchen_id'); $kitchenInfo = $this->kitchenModel->getInfoById($kitchenId); if (empty($kitchenInfo)) throw new ErrException('该厨房信息为空');