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