mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 15:12:48 +08:00
修正
This commit is contained in:
2
base.php
2
base.php
@@ -290,7 +290,7 @@ function S($name, $value = '', $options = null)
|
|||||||
return think\Cache::get($name);
|
return think\Cache::get($name);
|
||||||
} elseif (is_null($value)) {
|
} elseif (is_null($value)) {
|
||||||
// 删除缓存
|
// 删除缓存
|
||||||
return $think\Cache::rm($name);
|
return think\Cache::rm($name);
|
||||||
} else {
|
} else {
|
||||||
// 缓存数据
|
// 缓存数据
|
||||||
if (is_array($options)) {
|
if (is_array($options)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user