From 7beb37600d6d46a6e9dcc0a7512cfdf47109ffb8 Mon Sep 17 00:00:00 2001 From: zhaoxiang <756958008@qq.com> Date: Sun, 25 Dec 2016 20:10:47 +0800 Subject: [PATCH] =?UTF-8?q?added=20=E6=96=87=E6=A1=A3=E6=8E=A7=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/admin/controller/WikiManager.php | 41 ++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/application/admin/controller/WikiManager.php b/application/admin/controller/WikiManager.php index 50ffe56..6c7fe3b 100644 --- a/application/admin/controller/WikiManager.php +++ b/application/admin/controller/WikiManager.php @@ -10,4 +10,45 @@ namespace app\admin\controller; class WikiManager extends Base { + const FILE_CACHE = 0; + const SERVER_CACHE = 1; + const NO_CACHE = 2; + + private $cacheType; + + public function _myInitialize( $type = '' ) { + if( empty($type) ){ + $this->cacheType = self::FILE_CACHE; + }else{ + $this->cacheType = $type; + } + } + + public function api(){ + + } + + public function app(){ + + } + + private function getWikiToken( $mark ){ + + } + + private function getFileCache( $str ){ + + } + + private function delFileCache( $str ){ + + } + + private function getServerCache( $str ){ + + } + + private function delServerCache( $str ){ + + } } \ No newline at end of file