feat : site
This commit is contained in:
@@ -50,7 +50,7 @@ class OptionalListService extends BaseService
|
|||||||
|
|
||||||
if (empty($siteInfo) || empty($siteInfo['kitchen_id'])) return $this->return->success('success', ['list' => []]);
|
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();
|
$data = $this->goodCache->getOptionalGoodList();
|
||||||
|
|
||||||
return $this->return->success('success', ['list' => $data]);
|
return $this->return->success('success', ['list' => $data]);
|
||||||
|
|||||||
Reference in New Issue
Block a user