wiki评论和空间

This commit is contained in:
暮光:城中城
2019-03-08 21:40:20 +08:00
parent 5f7177848b
commit 05142096f7
3 changed files with 209 additions and 70 deletions

View File

@@ -33,6 +33,7 @@ public class WikiPageZanController {
UpdateWrapper<WikiPageZan> wrapper = new UpdateWrapper<>();
wrapper.eq("page_id", wikiPageZan.getPageId());
wrapper.eq(wikiPageZan.getCommentId() != null, "comment_id", wikiPageZan.getCommentId());
wrapper.eq("yn", 1);
List<WikiPageZan> zanList = wikiPageZanService.list(wrapper);
return DocResponseJson.ok(zanList);
}