From de91c84954157bb9f8b6d938cbe0b1b51fb6e65d Mon Sep 17 00:00:00 2001 From: CeDo <cedoogle@gmail.com> Date: 星期五, 07 五月 2021 15:23:57 +0800 Subject: [PATCH] bugfixed:新增便民服务商家 报错 --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java | 96 +++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 91 insertions(+), 5 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 5d243df..e4339a4 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 @@ -6,6 +6,11 @@ import com.panzhihua.common.model.dtos.advertisement.PageComOpsAdvDTO; import com.panzhihua.common.model.dtos.community.*; import com.panzhihua.common.model.dtos.neighbor.*; +import com.panzhihua.common.model.dtos.neighbor.*; +import com.panzhihua.common.model.dtos.neighbor.ComActNeighborCircleAdminDTO; +import com.panzhihua.common.model.dtos.neighbor.AddComActNeighborCircleAppDTO; +import com.panzhihua.common.model.dtos.neighbor.ComActNeighborCircleAppDTO; +import com.panzhihua.common.model.dtos.neighbor.ComActNeighborCircleDetailAppDTO; import com.panzhihua.common.model.dtos.shop.PageComShopOrderSearchDTO; import com.panzhihua.common.model.dtos.shop.*; import com.panzhihua.common.model.dtos.shop.PageComShopGoodsDTO; @@ -17,8 +22,10 @@ import com.panzhihua.common.model.vos.community.questnaire.EditComActQuestnaireVo; import com.panzhihua.common.model.vos.community.questnaire.QuestnaireVO; import com.panzhihua.common.model.vos.community.questnaire.UsersAnswerQuestnaireVO; +import com.panzhihua.common.model.vos.neighbor.AddNeighborCircleAdminVO; import com.panzhihua.common.model.vos.neighbor.ChangeCommentReplyStatusByAdminVO; import com.panzhihua.common.model.vos.neighbor.ChangeCommentStatusByAdminVO; +import com.panzhihua.common.model.vos.neighbor.EditNeighborCircleAdminVO; import com.panzhihua.common.model.vos.shop.ShopOperLogVO; import com.panzhihua.common.model.vos.shop.AddShopGoodsVO; import com.panzhihua.common.model.vos.shop.ShopStoreVO; @@ -2276,10 +2283,10 @@ /** * 后台修改邻里圈 - * @param comActNeighborCircleAdminDTO 请求参数 + * @param editNeighborCircleAdminVO 请求参数 */ @PostMapping("/neighbor/changeStatusByAdmin") - R changeStatusByAdmin(@RequestBody ComActNeighborCircleAdminDTO comActNeighborCircleAdminDTO); + R changeStatusByAdmin(@RequestBody EditNeighborCircleAdminVO editNeighborCircleAdminVO); /** @@ -2295,7 +2302,7 @@ * @param id 邻里圈id * @return 邻里圈列表 */ - @PostMapping("/neighbor/detailNeighborByAdmin") + @GetMapping("/neighbor/detailNeighborByAdmin") R detailNeighborByAdmin(@RequestParam("id")Long id); /** @@ -2322,6 +2329,53 @@ /** + * 用户查询邻里圈列表 + * @param neighborCircleAppDTO 请求参数 + * @return 邻里圈列表 + */ + @PostMapping("/neighbor/neighborExamineByApp") + R neighborExamineByApp(@RequestBody ComActNeighborCircleAppDTO neighborCircleAppDTO); + + /** + * 邻里圈点赞 + * @param fabulousAppDTO 请求参数 + * @return 点赞结果 + */ + @PostMapping("/neighbor/neighborFabulousByApp") + R neighborFabulousByApp(@RequestBody ComActNeighborFabulousAppDTO fabulousAppDTO); + + /** + * 邻里圈转发 + * @param forwardAppDTO 请求参数 + * @return 转发结果 + */ + @PostMapping("/neighbor/neighborForwardByApp") + R neighborForwardByApp(@RequestBody ComActNeighborForwardAppDTO forwardAppDTO); + + /** + * 邻里圈评论 + * @param commentAppDTO 请求参数 + * @return 评论结果 + */ + @PostMapping("/neighbor/neighborCommentByApp") + R neighborCommentByApp(@RequestBody ComActNeighborCommentAppDTO commentAppDTO); + + /** + * 邻里圈回复 + * @param replyAppDTO 请求参数 + * @return 回复结果 + */ + @PostMapping("/neighbor/neighborReplyByApp") + R neighborReplyByApp(@RequestBody ComActNeighborReplyAppDTO replyAppDTO); + + /** + * 定时任务更新邻里圈近3天评论数/点赞数/浏览量 + * @return 执行结果 + */ + @PostMapping("/neighbor/timeTaskCircleFlow") + R timedTaskNeighborCircleRecord(); + + /** * 邻里圈评论回复_分页 * @param dto 参数 */ @@ -2332,13 +2386,45 @@ * 邻里圈评论回复_基本详情 * @param id 参数 */ - @PostMapping("/neighbor/detailNeighborCommentReply") + @GetMapping("/neighbor/detailNeighborCommentReply") R detailNeighborCommentReply(@RequestParam("id") Long id); /** - * 评论的状态_修改 + * 评论回复状态_修改 * @param changeStatusReplyVO 参数 */ @PostMapping("/neighbor/changeCommentReplyStatusByAdmin") R changeCommentReplyStatusByAdmin(@RequestBody ChangeCommentReplyStatusByAdminVO changeStatusReplyVO); + /** + * 邻里圈取消点赞 + * @param fabulousAppDTO 请求参数 + * @return 取消点赞结果 + */ + @PostMapping("/neighbor/neighborFabulousCancelByApp") + R neighborFabulousCancelByApp(@RequestBody ComActNeighborFabulousAppDTO fabulousAppDTO); + + /** + * 添加邻里圈浏览记录 + * @param addBrowseAppDTO 请求参数 + * @return 返回参数 + */ + @PostMapping("/neighbor/neighborAddBrowseByApp") + R neighborAddBrowseByApp(@RequestBody ComActNeighborAddBrowseAppDTO addBrowseAppDTO); + + + /** + * 邻里圈_添加 + * @param addNeighborCircleAdminVO 参数 + */ + @PostMapping("/neighbor/addNeighborByAdmin") + R addNeighborByAdmin(@RequestBody AddNeighborCircleAdminVO addNeighborCircleAdminVO); + + /** + * 分页查询评论下所有回复 + * @param commentReplyAppDTO 请求参数 + * @return 回复列表 + */ + @PostMapping("/neighbor/neighborCommentReplyByApp") + R neighborCommentReplyByApp(@RequestBody ComActNeighborCommentReplyAppDTO commentReplyAppDTO); + } -- Gitblit v1.7.1