This commit is contained in:
pomjay
2025-06-25 09:35:09 +08:00
parent 81a95f47a0
commit 7e3eba92e2
16 changed files with 154 additions and 44 deletions

View File

@ -18,5 +18,18 @@ class TableCustomerUserCache extends TableBaseCache
'google_auth_secret',
];
function loadData(): array|string|null
{
$oTable = new $this->table_class();
$oData = $oTable->findItemByWhere([$this->primary_key_column => $this->primary_key], $this->get_columns);
if (!$oData) return null;
$aData = $oData->toArray();
if (empty($aData)) return null;
return $aData;
}
}