mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 07:12:47 +08:00
改进query类的value和column方法的缓存问题
This commit is contained in:
@@ -106,6 +106,9 @@ class Query
|
||||
// 缓存数据
|
||||
Cache::set($key, $result, $cache['expire']);
|
||||
}
|
||||
} else {
|
||||
// 清空查询条件
|
||||
$this->options = [];
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
@@ -149,6 +152,9 @@ class Query
|
||||
// 缓存数据
|
||||
Cache::set($guid, $result, $cache['expire']);
|
||||
}
|
||||
} else {
|
||||
// 清空查询条件
|
||||
$this->options = [];
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user