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 |   29 +++++++++++++++++++++++++----
 1 files changed, 25 insertions(+), 4 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 c2ca3e2..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,10 +2,7 @@
 
 import com.panzhihua.common.model.dtos.AppletesBackstageConfigDTO;
 import com.panzhihua.common.model.dtos.advertisement.ComOpsAdvDTO;
-import com.panzhihua.common.model.dtos.community.ComActEasyPhotoCommentDTO;
-import com.panzhihua.common.model.dtos.community.PageComActEasyPhotoCommentDTO;
-import com.panzhihua.common.model.dtos.community.ComActEasyPhotoCommentUserDTO;
-import com.panzhihua.common.model.dtos.community.PageComActDTO;
+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.*;
@@ -689,4 +686,28 @@
      */
     @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