From 609e9ec46167d32920afbcf3425eb7a2a622a521 Mon Sep 17 00:00:00 2001
From: colly_wyx <wangyixiong_007@163.com>
Date: Fri, 20 Apr 2018 10:19:32 +0800
Subject: [PATCH] 更新时间区间
---
application/core/System/Controller/Base.php | 16 +---------------
1 files changed, 1 insertions(+), 15 deletions(-)
diff --git a/application/core/System/Controller/Base.php b/application/core/System/Controller/Base.php
index 0619a89..e4f86e8 100644
--- a/application/core/System/Controller/Base.php
+++ b/application/core/System/Controller/Base.php
@@ -52,13 +52,6 @@
$this->route = $this->getRoute();
//���������redis
$this->redis = System_Service_Locator::getInstance()->get('redis');
- if(!$this->redis->exists('modules') ){
- $this->redis->set('modules', $this->getModules());
- }
- //������������������
- if(!$this->redis->exists('role_auth')){
- Util::updateRoleAuth();
- }
//������������������
if(!empty($this->layout)){
//������������������������
@@ -128,12 +121,5 @@
return $this->getRequest()->isXmlHttpRequest();
}
- /**
- * ������������������
- * @return [type] [description]
- */
- public function getModules(){
- $this->module_service = new Service_Module();
- return $this->module_service->getModuleList(array(), array(), array('level' => 1));
- }
+
}
\ No newline at end of file
--
Gitblit v1.8.0