Compare commits
1 Commits
20250723-0
...
20250723-0
| Author | SHA1 | Date | |
|---|---|---|---|
| 408a2bfa2b |
@@ -67,8 +67,9 @@ class OptionalListService extends BaseService
|
||||
if (empty($cycleId)) return $this->return->success('success', ['list' => []]);
|
||||
|
||||
$this->goodCache->cycleId = (int)$cycleId;
|
||||
$siteInfo = $this->siteCache->getSiteInfo((int)$this->request->input('site_id'));
|
||||
|
||||
if (!empty($this->request->input('site_id'))){
|
||||
$siteInfo = $this->siteCache->getSiteInfo((int)$this->request->input('site_id'));
|
||||
}
|
||||
if (empty($siteInfo) || empty($siteInfo['kitchen_id'])) $siteInfo['kitchen_id'] = config('system.kitchen_id');
|
||||
|
||||
$this->goodCache->kitchenId = (int)$siteInfo['kitchen_id'];
|
||||
|
||||
Reference in New Issue
Block a user