From ae7c00241aa953b4a240bc97a417d65e135c3561 Mon Sep 17 00:00:00 2001
From: huanghongfa <18228131219@163.com>
Date: 星期六, 23 一月 2021 20:05:54 +0800
Subject: [PATCH] 一起议

---
 springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java |   80 ++++++++++++++++++++++++++++++++++++++++
 1 files changed, 80 insertions(+), 0 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java
index 0e8b7ff..c056ebb 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java
@@ -710,4 +710,84 @@
      */
     @PostMapping("deletediscuss")
     R deleteDiscuss(@RequestParam("id") Long id);
+
+    /**
+     * 一起议-回复
+     * @param comActDiscussCommentDTO 评论内容
+     * @return 回复结果
+     */
+    @PostMapping("adddiscusscomment")
+    R addDiscussComment(@RequestBody ComActDiscussCommentDTO comActDiscussCommentDTO);
+
+    /**
+     * 一起议-分页查询
+     * @param pageComActDiscussDTO 查询参数
+     * @return ComActDiscussVO
+     */
+    @PostMapping("pagediscuss")
+    R pageDiscuss(@RequestBody PageComActDiscussDTO pageComActDiscussDTO);
+
+    /**
+     * 一起议-评论-查看
+     * @param id 主键
+     * @return 详情
+     */
+    @PostMapping("detaildiscusscomment")
+    R detailDiscussComment(@RequestParam("id") Long id);
+
+    /**
+     * 一起议-评论-置顶
+     * @param id 主键
+     * @return 置顶结果
+     */
+    @PostMapping("putdiscusscommenttop")
+    R putDiscussCommentTop(@RequestParam("id") Long id);
+
+    /**
+     * 一起议-评论-回复
+     * @param comActDiscussCommentDTO 回复内容
+     * @return  回复结果
+     */
+    @PostMapping("adddiscusscommentback")
+    R addDiscussCommentBack(@RequestBody ComActDiscussCommentDTO comActDiscussCommentDTO);
+
+    /**
+     * 一起议-评论-分页查询
+     * @param pageComActDiscussCommentDTO 分页查询参数
+     * @return  ComActDiscussCommentVO
+     */
+    @PostMapping("pagediscusscomment")
+    R pageDiscussComment(@RequestBody PageComActDiscussCommentDTO pageComActDiscussCommentDTO);
+
+    /**
+     * 一起议-分页查询 小程序
+     * @param pageComActDiscussDTO 查询参数
+     * @return ComActDiscussVO 分页
+     */
+    @PostMapping("pagediscussapplets")
+    R pageDiscussApplets(@RequestBody PageComActDiscussDTO pageComActDiscussDTO);
+
+    /**
+     * 一起议-点赞、取消点赞
+     * @param comActDiscussUserDTO 操作类型
+     * @return 操作结果
+     */
+    @PostMapping("putdiscussuser")
+    R putDiscussUser(@RequestBody ComActDiscussUserDTO comActDiscussUserDTO);
+
+    /**
+     * 一起议-评论-分页查询 小程序
+     * @param pageComActDiscussCommentDTO 分页参数
+     * @return ComActDiscussCommentVO
+     */
+    @PostMapping("pagediscusscommentapplets")
+    R pageDiscussCommentApplets(@RequestBody PageComActDiscussCommentDTO pageComActDiscussCommentDTO);
+
+    /**
+     * 一起议-详情 小程序
+     * @param id 主键
+     * @return ComActDiscussVO
+     */
+    @PostMapping("detaildiscussapplets")
+    R detailDiscussApplets(@RequestParam("id") Long id);
 }

--
Gitblit v1.7.1