提交的内容
This commit is contained in:
2
app/common/cache/CacheBase.php
vendored
2
app/common/cache/CacheBase.php
vendored
@ -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)
|
||||
|
||||
@ -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) 删除缓存
|
||||
|
||||
Reference in New Issue
Block a user