1.提交缺失的东西

This commit is contained in:
2025-05-13 10:43:25 +08:00
parent 1b3560b504
commit 8c1946ec56
2 changed files with 1 additions and 2 deletions

View File

@ -115,7 +115,7 @@ abstract class CacheBase
protected function cacheRm($name)
{
return Cache::rm($name);
return Cache::delete($name);
}
protected function cacheGet($name, $default = false)

View File

@ -28,7 +28,6 @@ use think\Facade;
* @method static mixed get(string $key, mixed $default = null) 读取缓存
* @method static bool set(string $key, mixed $value, int|\DateInterval|\DateTimeInterface $ttl = null) 写入缓存
* @method static bool delete(string $key) 删除缓存
* @method static bool rm(string $name) static 删除缓存
* @method static iterable getMultiple(iterable $keys, mixed $default = null) 读取缓存
* @method static bool setMultiple(iterable $values, null|int|\DateInterval|\DateTimeInterface $ttl = null) 写入缓存
* @method static bool deleteMultiple(iterable $keys) 删除缓存