增加wiki模块

This commit is contained in:
暮光:城中城
2019-02-17 20:20:39 +08:00
parent b5a08d080c
commit be452f68b9
24 changed files with 12056 additions and 1 deletions

View File

@@ -0,0 +1,31 @@
package com.zyplayer.doc.wiki.controller;
import com.zyplayer.doc.core.json.DocResponseJson;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* 文档控制器
*
* @author 暮光:城中城
* @since 2019年2月17日
*/
@RestController
@RequestMapping("/zyplayer-doc-wiki/doc-wiki")
public class WikiController {
private static Logger logger = LoggerFactory.getLogger(WikiController.class);
/**
*
* @author 暮光:城中城
* @since 2019年2月17日
**/
@PostMapping(value = "/list")
public DocResponseJson list() {
return DocResponseJson.ok();
}
}

View File

@@ -0,0 +1,16 @@
package com.zyplayer.doc.wiki.framework.config;
import org.springframework.context.annotation.ComponentScan;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
@Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
@Target(value = { java.lang.annotation.ElementType.TYPE })
@Documented
@ComponentScan(basePackages = {
"com.zyplayer.doc.wiki",
})
public @interface EnableDocWiki {
}