This commit is contained in:
thinkphp
2015-12-11 23:05:24 +08:00
parent daf6a9b731
commit 272a680bd7

View File

@@ -290,7 +290,7 @@ function S($name, $value = '', $options = null)
return think\Cache::get($name);
} elseif (is_null($value)) {
// 删除缓存
return $think\Cache::rm($name);
return think\Cache::rm($name);
} else {
// 缓存数据
if (is_array($options)) {