From 5bc1f0c12e6f79dc4bf811ce09be6277967d9b63 Mon Sep 17 00:00:00 2001 From: ctexthuang Date: Fri, 14 Mar 2025 15:18:04 +0800 Subject: [PATCH] feat : site --- app/Service/Api/Good/OptionalListService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Service/Api/Good/OptionalListService.php b/app/Service/Api/Good/OptionalListService.php index 98b48f2..e16dd59 100644 --- a/app/Service/Api/Good/OptionalListService.php +++ b/app/Service/Api/Good/OptionalListService.php @@ -50,7 +50,7 @@ class OptionalListService extends BaseService if (empty($siteInfo) || empty($siteInfo['kitchen_id'])) return $this->return->success('success', ['list' => []]); - $this->goodCache->kitchenId = $siteInfo['kitchen_id']; + $this->goodCache->kitchenId = (int)$siteInfo['kitchen_id']; $data = $this->goodCache->getOptionalGoodList(); return $this->return->success('success', ['list' => $data]);