完成自动缓存和缓存清理;

This commit is contained in:
2022-02-13 12:44:17 +08:00
parent bc828f73e0
commit c4ac0764b9
5 changed files with 9 additions and 6 deletions

View File

@@ -17,6 +17,7 @@ class Common extends BaseController
{
parent::initialize();
$list_nav_slide = Nav::where('type', 3)->cache('type_3_list')->order('sort asc')->where('status', 1)->select();
View::assign('list_nav_slide', $list_nav_slide);