From 04c96f26282f021fcc59b40d6f11f172fc070af8 Mon Sep 17 00:00:00 2001
From: huanghongfa <18228131219@163.com>
Date: 星期五, 22 一月 2021 17:31:41 +0800
Subject: [PATCH] 新增接口一起议

---
 springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java |   66 ++++++++++++++++++++++++++++++++-
 1 files changed, 64 insertions(+), 2 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 23cf537..0e8b7ff 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
@@ -2,8 +2,7 @@
 
 import com.panzhihua.common.model.dtos.AppletesBackstageConfigDTO;
 import com.panzhihua.common.model.dtos.advertisement.ComOpsAdvDTO;
-import com.panzhihua.common.model.dtos.community.PageComActDTO;
-import com.panzhihua.common.model.dtos.user.PageFeedBackDTO;
+import com.panzhihua.common.model.dtos.community.*;
 import com.panzhihua.common.model.vos.R;
 import com.panzhihua.common.model.vos.SystemmanagementConfigVO;
 import com.panzhihua.common.model.vos.community.*;
@@ -648,4 +647,67 @@
      */
     @PostMapping("deleteotherbuild")
     R deleteOtherbuild(@RequestParam("id")Long id);
+
+    /**
+     * 社区后台分页查询社区活动
+     * @param comActActivityVO 查询参数
+     * @return 返回结果
+     */
+    @PostMapping("pageactivitycommunityback")
+    R pageActivityCommunityBack(@RequestBody ComActActivityVO comActActivityVO);
+    /**
+     * 小程序分页查询随手拍
+     * @param comActEasyPhotoVO 查询参数
+     * @return 返回结果
+     */
+    @PostMapping("pageeasyphotoapplets")
+    R pageEasyPhotoApplets(@RequestBody ComActEasyPhotoVO comActEasyPhotoVO);
+
+    /**
+     * 随手拍评论分页查询
+     * @param pageComActEasyPhotoCommentDTO 查询参数
+     * @return 查询结果
+     */
+    @PostMapping("pagecomacteasyphotocomment")
+    R pageComActEasyPhotoComment(@RequestBody PageComActEasyPhotoCommentDTO pageComActEasyPhotoCommentDTO);
+
+    /**
+     * 评论点赞/取消点赞
+     * @param comActEasyPhotoCommentUserDTO 操作
+     * @return 操作结果
+     */
+    @PostMapping("commentsign")
+    R commentSign(@RequestBody ComActEasyPhotoCommentUserDTO comActEasyPhotoCommentUserDTO);
+
+    /**
+     * 随手拍--评论--新增评论
+     * @param comActEasyPhotoCommentDTO 新增内容
+     * @return 新增结果
+     */
+    @PostMapping("addcomacteasyphotocomment")
+    R addComActEasyPhotoComment(@RequestBody ComActEasyPhotoCommentDTO comActEasyPhotoCommentDTO);
+
+    /**
+     * 一起议-新增
+     * @param comActDiscussDTO 新增参数
+     * @return 新增结果
+     */
+    @PostMapping("adddiscuss")
+    R addDiscuss(@RequestBody ComActDiscussDTO comActDiscussDTO);
+
+    /**
+     * 一起议-详情
+     * @param id 主键
+     * @return ComActDiscussVO
+     */
+    @PostMapping("detaildiscuss")
+    R detailDiscuss(@RequestParam("id") Long id);
+
+    /**
+     * 一起议-删除
+     * @param id 主键
+     * @return 删除结果
+     */
+    @PostMapping("deletediscuss")
+    R deleteDiscuss(@RequestParam("id") Long id);
 }

--
Gitblit v1.7.1