11
This commit is contained in:
@ -109,12 +109,15 @@ class CustomerUserModel extends ApiBaseModel
|
||||
{
|
||||
$oTableCustomerUserCache = new TableCustomerUserCache();
|
||||
$oTableCustomerUserCache->setPrimaryKey($iUid);
|
||||
|
||||
return $oTableCustomerUserCache->getCacheData();
|
||||
// return Cache::remember($this->getCacheKey($iUid), RedisConst::ORM_FIND_CACHE_SECOND, function () use ($iUid) {
|
||||
// return $this->findItem($iUid);
|
||||
// });
|
||||
}
|
||||
|
||||
|
||||
|
||||
// function delItemFromCache($iUid): bool
|
||||
// {
|
||||
// return Cache::delete($this->getCacheKey($iUid));
|
||||
|
||||
Reference in New Issue
Block a user