From ba394a88332d85c6dcb764f8eb781d09ffb14fd9 Mon Sep 17 00:00:00 2001 From: toogee Date: Wed, 13 May 2020 17:55:29 +0800 Subject: [PATCH] top art cache --- app/index/controller/Article.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/index/controller/Article.php b/app/index/controller/Article.php index 2aa1eaa..c8899a5 100644 --- a/app/index/controller/Article.php +++ b/app/index/controller/Article.php @@ -366,7 +366,7 @@ class Article extends BaseController //删除本贴设置缓存显示编辑后内容 Cache::delete('article_'.$data['id']); //清除文章tag缓存 - //Cache::tag('tagArtDetail')->clear(); + Cache::tag('tagArtDetail')->clear(); return json($res); }