mirror of
https://gitee.com/apiadmin/ApiAdmin.git
synced 2025-04-06 03:58:00 +08:00
added 文档控制
This commit is contained in:
parent
09cccec756
commit
7beb37600d
@ -10,4 +10,45 @@ namespace app\admin\controller;
|
|||||||
|
|
||||||
class WikiManager extends Base {
|
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 ){
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user