From e6c0c096dc8ecefc61c4a3822750c43a1727f250 Mon Sep 17 00:00:00 2001
From: colly_wyx <wangyixiong_007@163.com>
Date: Wed, 09 May 2018 16:14:17 +0800
Subject: [PATCH] 修复汇总问题
---
application/core/System/Controller/Base.php | 13 ++-----------
1 files changed, 2 insertions(+), 11 deletions(-)
diff --git a/application/core/System/Controller/Base.php b/application/core/System/Controller/Base.php
index f3de77d..6f92a05 100644
--- a/application/core/System/Controller/Base.php
+++ b/application/core/System/Controller/Base.php
@@ -52,15 +52,13 @@
$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(!empty($this->layout)){
//������������������������
//$this->modules = $this->modules_service->getModuleListByRoleId();
$this->setLayout($this->layout);
}
+
//������������������������������
$this->getView()->assign('route', $this->route);
}
@@ -124,12 +122,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