huanghongfa
2020-12-31 17bccd09afb6e6a4fffa0409d7d5285e88442103
springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java
@@ -1,6 +1,7 @@
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.*;
@@ -9,8 +10,6 @@
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
@@ -500,6 +499,38 @@
     * @param appletesBackstageConfigDTO 编辑内容
     * @return 编辑结果
     */
    @PostMapping("putconfig")
    R putConfig(@RequestBody AppletesBackstageConfigDTO appletesBackstageConfigDTO);
    @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);
    /**
     * 志愿者详情
     * @param id 主键
     * @return
     */
    @PostMapping("detailvolunteer")
    R detailVolunteer(@RequestParam("id")Long id);
}