update fix deadcode, security

This commit is contained in:
baodev0
2026-09-28 08:26:29 +07:00
parent 3af59bd9c5
commit 82080b5b84
452 changed files with 4857 additions and 26289 deletions
-14
View File
@@ -24,20 +24,6 @@ abstract class BaseCachedRepository extends BaseRepository
return $this->cache->remember($key, fn () => parent::find($id), CacheServiceInterface::TTL_LONG);
}
public function getAll()
{
$key = CacheKey::build($this->getModuleName(), 'all');
return $this->cache->remember($key, fn () => parent::getAll(), CacheServiceInterface::TTL_LONG);
}
public function getCount()
{
$key = CacheKey::build($this->getModuleName(), 'count');
return $this->cache->remember($key, fn () => parent::getCount(), CacheServiceInterface::TTL_LONG);
}
public function create($data = [])
{
$result = parent::create($data);