added 文档控制

This commit is contained in:
zhaoxiang 2016-12-25 20:10:47 +08:00
parent 09cccec756
commit 7beb37600d

View File

@ -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 ){
}
}