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 |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/application/core/System/Controller/Base.php b/application/core/System/Controller/Base.php
index 1c58419..0619a89 100644
--- a/application/core/System/Controller/Base.php
+++ b/application/core/System/Controller/Base.php
@@ -52,9 +52,13 @@
         $this->route = $this->getRoute();
         //���������redis
         $this->redis = System_Service_Locator::getInstance()->get('redis');
-        //if(!$this->redis->exists('modules') ){
+        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