wiki接口

This commit is contained in:
暮光:城中城
2019-02-27 21:38:25 +08:00
parent b930103058
commit b14e2c5989
9 changed files with 225 additions and 31 deletions

View File

@@ -41,6 +41,8 @@ public class WikiPageController {
UpdateWrapper<WikiPage> wrapper = new UpdateWrapper<>();
wrapper.eq("del_flag", 0);
wrapper.eq("space_id", wikiPage.getSpaceId());
wrapper.isNull(wikiPage.getParentId() == null, "parent_id");
wrapper.eq(wikiPage.getParentId() != null, "parent_id", wikiPage.getParentId());
List<WikiPage> authList = wikiPageService.list(wrapper);
return DocResponseJson.ok(authList);
}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,11 @@
1、markdown
https://github.com/hinesboy/mavonEditor
https://md.zhystar.com/
http://47.99.49.57/markdown/
https://github.com/coinsuper/vue-markdown
2、富文本编辑器
http://www.wangeditor.com/index.html
https://simditor.tower.im/