mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 07:12:47 +08:00
改进value方法的缓存处理
This commit is contained in:
@@ -441,7 +441,7 @@ class Query
|
|||||||
$result += 0;
|
$result += 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($cache)) {
|
if (isset($cache) && false !== $result) {
|
||||||
// 缓存数据
|
// 缓存数据
|
||||||
$this->cacheData($key, $result, $cache);
|
$this->cacheData($key, $result, $cache);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user