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