| | |
| | | package com.panzhihua.common.service.community; |
| | | |
| | | 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.vos.R; |
| | | import com.panzhihua.common.model.vos.SystemmanagementConfigVO; |
| | | import com.panzhihua.common.model.vos.community.*; |
| | |
| | | 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 |
| | |
| | | */ |
| | | @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); |
| | | |
| | | /** |
| | | * 查询平台所有的社区 |
| | | * @return 社区集合 按照创建顺序倒序排列 |
| | | */ |
| | | @PostMapping("listcommunityall") |
| | | R listCommunityAll(); |
| | | |
| | | /** |
| | | * 首页广告banner |
| | | * @return |
| | | */ |
| | | @PostMapping("listadvertisement") |
| | | R listAdvertisement(); |
| | | |
| | | /** |
| | | * 新增广告 |
| | | * @param comOpsAdvDTO |
| | | * @return |
| | | */ |
| | | @PostMapping("addadvertisement") |
| | | R addAdvertisement(@RequestBody ComOpsAdvDTO comOpsAdvDTO); |
| | | |
| | | /** |
| | | * 编辑广告 |
| | | * @param comOpsAdvDTO 编辑内容 |
| | | * @return 编辑结果 |
| | | */ |
| | | @PostMapping("putadvertisement") |
| | | R putAdvertisement(@RequestBody ComOpsAdvDTO comOpsAdvDTO); |
| | | |
| | | /** |
| | | * 广告位置下拉列表 |
| | | * @return 位置集合 |
| | | */ |
| | | @PostMapping("listadvpos") |
| | | R listAdvpos(); |
| | | |
| | | /** |
| | | * 跳转内容下拉列表 |
| | | * @return 跳转内容集合 |
| | | */ |
| | | @PostMapping("listadvjump") |
| | | R listAdvjump(); |
| | | |
| | | /** |
| | | * 社区管理后台数据看板 代办事件 |
| | | * @param communityId 社区id |
| | | * @param userId |
| | | * @return 代办事件列表 |
| | | */ |
| | | @PostMapping("indexdatacommunitybackstage") |
| | | R indexDataCommunityBackstage(@RequestParam("communityId") Long communityId, @RequestParam("userId")Long userId); |
| | | |
| | | /** |
| | | * 删除社区 |
| | | * @param communityId 社区id |
| | | * @return 删除结果 |
| | | */ |
| | | @PostMapping("delectcommunity") |
| | | R delectCommunity(@RequestParam("communityId") Long communityId); |
| | | |
| | | /** |
| | | * 定时任务刷新社区动态置顶状态 |
| | | * @return |
| | | */ |
| | | @PostMapping("timedtaskdynistopping") |
| | | R timedTaskDynIstopping(); |
| | | |
| | | /** |
| | | * 定时任务刷新社区动态发布状态 |
| | | * @return |
| | | */ |
| | | @PostMapping("timedtaskdynstatus") |
| | | R timedTaskDynStatus(); |
| | | |
| | | /** |
| | | * 定时任务查询所有要取消的社区活动 |
| | | * @return 社区活动集合 |
| | | */ |
| | | @PostMapping("timedtaskactactivity") |
| | | R timedTaskActActivity(); |
| | | |
| | | /** |
| | | * 定时任务刷新社区活动的各个状态 除取消外 |
| | | * @return |
| | | */ |
| | | @PostMapping("timedtaskactactivityall") |
| | | R timedTaskActActivityAll(); |
| | | |
| | | } |