feat : site cache

This commit is contained in:
2025-02-26 10:53:06 +08:00
parent 7d2a1f855b
commit 14ca3b6377
2 changed files with 6 additions and 2 deletions

View File

@@ -43,7 +43,7 @@ class OptionalListService extends BaseService
{
$cycleId = $this->initTodayCycleId();
if (empty($cycleId)) return ['list' => []];
if (empty($cycleId)) return $this->return->success('success', ['list' => []]);
$this->goodCache->cycleId = (int)$cycleId;
$siteInfo = $this->siteCache->getSiteInfo((int)$this->request->input('site_id'));