feat: chef

This commit is contained in:
2025-01-15 15:25:39 +08:00
parent 789f753b24
commit 332002cf5a
2 changed files with 20 additions and 1 deletions

View File

@@ -180,7 +180,7 @@ class SpuService extends BaseService
*/
private function checkInfo(): void
{
$kitchenId = $this->request->input('kitchen_id');
$kitchenId = (int)$this->request->input('kitchen_id');
$kitchenInfo = $this->kitchenModel->getInfoById($kitchenId);
$this->cityId = (int)$kitchenInfo->city_id;