From d5c417181f625a0c219efa15483990c3cf01b5fd Mon Sep 17 00:00:00 2001 From: huanghongfa <huanghongfa123456> Date: 星期五, 20 八月 2021 11:09:31 +0800 Subject: [PATCH] 随手拍改版接口开发 --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java | 63 +++++++++++++++++++++++++++++-- 1 files changed, 59 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 71b14a4..b905092 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 @@ -10,10 +10,7 @@ import com.panzhihua.common.model.dtos.community.bigscreen.work.ScreenActActivityPeopleListDTO; import com.panzhihua.common.model.dtos.community.bigscreen.work.ScreenDiscussListDTO; import com.panzhihua.common.model.dtos.community.bigscreen.work.ScreenMicroListDTO; -import com.panzhihua.common.model.dtos.community.easyPhoto.AddEasyPhotoActivityDTO; -import com.panzhihua.common.model.dtos.community.easyPhoto.EditEasyPhotoActivityDTO; -import com.panzhihua.common.model.dtos.community.easyPhoto.PageEasyPhotoActivityDTO; -import com.panzhihua.common.model.dtos.community.easyPhoto.PageEasyPhotoActivityUserDTO; +import com.panzhihua.common.model.dtos.community.easyPhoto.*; import com.panzhihua.common.model.dtos.community.integral.ComActIntegralCommunityRankDTO; import com.panzhihua.common.model.dtos.community.integral.admin.AddComActIntegralUserDTO; import com.panzhihua.common.model.dtos.community.integral.admin.EditComActIntegralRuleDTO; @@ -4217,6 +4214,9 @@ @PostMapping("timedTaskActivityNotice") R timedTaskActivityNotice(); + /** + * 定时任务检测待发布,调研中的问卷调查状态 + */ @PostMapping("timedTaskQuestionnaire") R timedTaskQuestionnaire(); @@ -4266,4 +4266,59 @@ */ @GetMapping("/questnaire/statisticsSummary/header") R statisticsSummaryHeader(@RequestParam("questId") Long questId); + + /** + * 运营后台-新增随手拍分类 + * @param addPhotoClassify 请求参数 + * @return 新增结果 + */ + @PostMapping("/classify/admin/add") + R addPhotoClassify(@RequestBody AddEasyPhotoClassifyDTO addPhotoClassify); + + /** + * 运营后台-编辑随手拍分类 + * @param addPhotoClassify 请求参数 + * @return 编辑结果 + */ + @PostMapping("/classify/admin/edit") + R editPhotoClassify(@RequestBody AddEasyPhotoClassifyDTO addPhotoClassify); + + /** + * 运营后台-分页查询随手拍分类 + * @param addPhotoClassify 请求参数 + * @return 随手拍分类列表 + */ + @PostMapping("/classify/admin/page") + R pagePhotoClassify(@RequestBody AddEasyPhotoClassifyDTO addPhotoClassify); + + /** + * 运营后台-随手拍分类详情 + * @param id 随手拍分类id + * @return 随手拍分类 + */ + @GetMapping("/classify/admin/detail") + R detailPhotoClassify(@RequestParam("id") Long id); + + /** + * 运营后台-随手拍分类删除 + * @param id 随手拍分类id + * @return 删除结果 + */ + @GetMapping("/classify/admin/delete") + R deletePhotoClassify(@RequestParam("id") Long id); + + /** + * 运营后台-查询随手拍分类列表 + * @return 随手拍分类列表 + */ + @GetMapping("/classify/admin/list") + R listPhotoClassify(); + + /** + * 社区后台-切换随手拍公示状态 + * @param comActEasyPhotoVO 请求参数 + * @return 切换结果 + */ + @PostMapping("/easyphoto/switch/publicity") + R easyPhotoSwitchPublicity(@RequestBody ComActEasyPhotoVO comActEasyPhotoVO); } -- Gitblit v1.7.1