From 10b8730043e823efaf7fdea209e7e63f08b9bc4e Mon Sep 17 00:00:00 2001
From: huanghongfa <18228131219@163.com>
Date: 星期六, 20 二月 2021 09:45:14 +0800
Subject: [PATCH] zuul

---
 springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java |   90 +++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 90 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 bed380b..815d555 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,6 +2,7 @@
 
 import com.panzhihua.common.model.dtos.AppletesBackstageConfigDTO;
 import com.panzhihua.common.model.dtos.advertisement.ComOpsAdvDTO;
+import com.panzhihua.common.model.dtos.advertisement.PageComOpsAdvDTO;
 import com.panzhihua.common.model.dtos.community.*;
 import com.panzhihua.common.model.vos.R;
 import com.panzhihua.common.model.vos.SystemmanagementConfigVO;
@@ -758,4 +759,93 @@
      */
     @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 主键
+     * @param userId 登录用户主键
+     * @return ComActDiscussVO
+     */
+    @PostMapping("detaildiscussapplets")
+    R detailDiscussApplets(@RequestParam("id") Long id, @RequestParam("userId")Long userId);
+
+    /**
+     * 一起议-投票
+     * @param comActDiscussOptionUserDTO 投票信息
+     * @return 投票结果
+     */
+    @PostMapping("adddiscussoptionuser")
+    R addDiscussOptionUser(@RequestBody ComActDiscussOptionUserDTO comActDiscussOptionUserDTO);
+
+    /**
+     * 一起议-评论-点赞、取消点赞
+     * @param comActDiscussUserDTO 评论点赞
+     * @return 点赞结果
+     */
+    @PostMapping("putdiscusscommentuser")
+    R putDiscussCommentUser(@RequestBody ComActDiscussCommentUserDTO comActDiscussUserDTO);
+
+    /**
+     * 分页查询广告
+     * @param pageComOpsAdvDTO 查询内容
+     * @return 查询结果 ComOpsAdvVO
+     */
+    @PostMapping("pageadvertisement")
+    R pageAdvertisement(@RequestBody PageComOpsAdvDTO pageComOpsAdvDTO);
+
+    /**
+     * 广告详情
+     * @param id 主键
+     * @return 广告内容
+     */
+    @PostMapping("detailadvertisement")
+    R detailAdvertisement(@RequestParam("id") Long id);
+
+    /**
+     * 删除广告
+     * @param id 主键
+     * @return 删除结果
+     */
+    @PostMapping("deleteadvertisement")
+    R deleteAdvertisement(@RequestParam("id")Long id);
+
+    /**
+     * 查询城市下属所有地区列表
+     * @param cityAdcode 城市地址编码
+     * @return 地区列表
+     */
+    @PostMapping("listareadistrict")
+    R listAreaDistrict(@RequestParam("cityAdcode") Long cityAdcode);
+
+    /**
+     * 首页图表数据汇总
+     * @param communityId 社区id
+     * @return 图表数据
+     */
+    @PostMapping("indexdatacommunitybackstageechart")
+    R indexDataCommunityBackstageEchart(@RequestParam("communityId")Long communityId);
 }

--
Gitblit v1.7.1