From 9840d5b42aeb53f9ac7e4121101913592ca6da5f Mon Sep 17 00:00:00 2001 From: huanghongfa <18228131219@163.com> Date: 星期三, 30 十二月 2020 14:50:29 +0800 Subject: [PATCH] 测试版本 --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java | 84 ++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 84 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 3b07a42..7affdd9 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 @@ -1,12 +1,17 @@ package com.panzhihua.common.service.community; +import com.panzhihua.common.model.dtos.AppletesBackstageConfigDTO; +import com.panzhihua.common.model.dtos.community.PageComActDTO; import com.panzhihua.common.model.vos.R; +import com.panzhihua.common.model.vos.SystemmanagementConfigVO; import com.panzhihua.common.model.vos.community.*; import com.panzhihua.common.model.vos.user.UserPhoneVO; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestParam; + +import java.util.List; /** * @program: springcloud_k8s_panzhihuazhihuishequ @@ -443,4 +448,83 @@ */ @PostMapping("addhouses") R addHouses(@RequestBody ComMngStructHouseVO comMngStructHouseVO); + + /** + * 查询小区 + * @param communityId 社区id + * @return 小区集合 + */ + @PostMapping("listarea") + R listArea(@RequestParam("communityId")Long communityId); + + /** + * 用户参加的所有社区活动 + * @param userId 用户id + * @return 活动列表 + */ + @PostMapping("listactivity") + R listActivity(@RequestParam("userId")Long userId ); + + /** + * 用户确认心愿 + * @param comActMicroWishVO 用户评价 + * @return 确认结果 + */ + @PostMapping("putmicrowishconfirm") + R putMicroWishConfirm(@RequestBody ComActMicroWishVO comActMicroWishVO); + + /** + * 建筑类型 + * @param communityId 社区id + * @return 建筑集合 + */ + @PostMapping("listcommngstructbuildtype") + R listComMngStructBuildType(@RequestParam("communityId") Long communityId); + + /** + * 增加删除建筑类型 + * @param systemmanagementConfigVO 操作内容 + * @return 操作结果 + */ + @PostMapping("putcommngstructbuildtype") + R putComMngStructBuildType(@RequestBody SystemmanagementConfigVO systemmanagementConfigVO); + + /** + * 获取广告跳转内容配置 + * @return 跳转内容集合 + */ + @PostMapping("getjumpcontent") + R getJumpContent(); + + /** + * 编辑运营后台系统配置 + * @param appletesBackstageConfigDTO 编辑内容 + * @return 编辑结果 + */ + @PostMapping("putjumpcontent") + R putJumpContent(@RequestBody AppletesBackstageConfigDTO appletesBackstageConfigDTO); + + /** + * 社区详情 + * @param communityId 社区id + * @return 社区详情 + */ + @PostMapping("detailcommunity") + R detailCommunity(@RequestParam("communityId") Long communityId); + + /** + * 小区详情 + * @param areaId 小区id + * @return 小区信息 + */ + @PostMapping("detailarea") + R detailArea(@RequestParam("areaId")Long areaId); + + /** + * 分页查询社区 + * @param pageComActDTO 查询参数 + * @return 分页集合 + */ + @PostMapping("pagecommunity") + R pageCommunity(@RequestBody PageComActDTO pageComActDTO); } -- Gitblit v1.7.1