From f7a98b088d5f7246cf12ee072169057a8e762664 Mon Sep 17 00:00:00 2001 From: colly_wyx <wangyixiong_007@163.com> Date: Thu, 10 Aug 2017 08:40:40 +0800 Subject: [PATCH] 新闻,数据监控 --- application/core/System/Controller/Base.php | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/application/core/System/Controller/Base.php b/application/core/System/Controller/Base.php index f3de77d..0619a89 100644 --- a/application/core/System/Controller/Base.php +++ b/application/core/System/Controller/Base.php @@ -55,6 +55,10 @@ if(!$this->redis->exists('modules') ){ $this->redis->set('modules', $this->getModules()); } + //������������������ + if(!$this->redis->exists('role_auth')){ + Util::updateRoleAuth(); + } //������������������ if(!empty($this->layout)){ //������������������������ -- Gitblit v1.8.0