mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 07:02:47 +08:00
请求缓存支持缓存标签设置
This commit is contained in:
4
library/think/cache/Driver.php
vendored
4
library/think/cache/Driver.php
vendored
@@ -140,7 +140,9 @@ abstract class Driver
|
||||
*/
|
||||
public function tag($name, $keys = null, $overlay = false)
|
||||
{
|
||||
if (is_null($keys)) {
|
||||
if (is_null($name)) {
|
||||
|
||||
} elseif (is_null($keys)) {
|
||||
$this->tag = $name;
|
||||
} else {
|
||||
$key = 'tag_' . md5($name);
|
||||
|
||||
Reference in New Issue
Block a user