From b932b837f29e6be3be8cac4cf768a208ea28c683 Mon Sep 17 00:00:00 2001 From: findyguo <12205921@qq.com> Date: 星期四, 04 三月 2021 16:25:50 +0800 Subject: [PATCH] 留言新增 --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java | 19 +++++++++++++++++++ 1 files changed, 19 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 f06d846..6721e11 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 @@ -9,6 +9,7 @@ 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.GetMapping; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestParam; @@ -865,6 +866,24 @@ */ @PostMapping("checkAreaHouse") R checkAreaHouse(@RequestParam("id")Long id); + /** + * 新增留言 + * @param comActMessageVO 新增留言信息 + * @return 发布结果 + */ + @PostMapping("addmessage") + R addMessage(ComActMessageVO comActMessageVO); + /** + * 新增留言 + * @param comActMessageVO 新增留言信息 + * @return 发布结果 + */ + @GetMapping("pagemymessage") + R pageMyMessageApplets(ComActMessageVO comActMessageVO); + @GetMapping("pagemycommunitymessage") + R pageMyCommunityMessageApplets(ComActMessageVO comActMessageVO); + @GetMapping("pagesendtomemessage") + R pageSendToMessageApplets(ComActMessageVO comActMessageVO); } -- Gitblit v1.7.1