细节优化

This commit is contained in:
gongfuxiang
2022-06-14 15:35:13 +08:00
parent 87356ec1d9
commit 583eef3fa1
3 changed files with 12 additions and 9 deletions

View File

@ -69,6 +69,9 @@ class Cache extends Common
\base\FileUtil::UnlinkDir(ROOT.'runtime'.DS.'cache');
\base\FileUtil::UnlinkDir(ROOT.'runtime'.DS.'data');
// 缓存操作清除
\think\facade\Cache::clear();
return $this->success('更新成功');
}