From 5a994cbf03f7b81506dbd0e982ec34e7936e546c Mon Sep 17 00:00:00 2001 From: lidongdong <1459917685@qq.com> Date: 星期三, 22 十一月 2023 16:04:34 +0800 Subject: [PATCH] 修改路北社区定时任务3 --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java | 61 ++++++++++++++++++++++++++++++ 1 files changed, 60 insertions(+), 1 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 b0a1b38..5256abc 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 @@ -39,7 +39,6 @@ import com.panzhihua.common.model.vos.community.reserve.ComActReserveDangerAreaVO; import com.panzhihua.common.model.vos.shop.AddShopFlowerGoodsVO; import com.panzhihua.common.utlis.StringUtils; -import com.panzhihua.service_community.entity.VolunteerCommunityConfigVO; import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiParam; import org.springframework.cloud.openfeign.FeignClient; @@ -11787,10 +11786,70 @@ + /******************************************************************************************************************* + * + * + * 社区折扣 + * + * + ******************************************************************************************************************/ + + + /** + * 分页查询 + * @param + * @return + */ + @GetMapping("/VolunteerMerchant/community/discount/getList") + public R CommunityDiscountgetList(@RequestParam("communityId") String communityId); + + /** + * 新增 + * @param + * @return + */ + @PostMapping("/VolunteerMerchant/community/discount/insert") + public R CommunityDiscountinsert(@RequestBody VolunteerCommunityDiscountVO item); + + + @PostMapping("/VolunteerMerchant/community/discount/update") + public R CommunityDiscountupdate(@RequestBody VolunteerCommunityDiscountVO item); + + + @DeleteMapping("/VolunteerMerchant/community/discount/delete") + public R CommunityDiscountdelete(@RequestParam("id") String id); + /** + * 报名/取消报名社区活动 + * 金汇社区专用 + * @param signactivityVO + * 报名参数 + * @return 报名 取消报名 结果 + */ + @PostMapping("/jinhui/jinhuiSignActivity") + public R jinhuiSignActivity(@RequestBody SignactivityVO signactivityVO); + + + + /** + * 用户签到 + * 金汇社区专用 + * @param comActActRegistVO 签到参数 + * @return 签到结果 + */ + @PostMapping("/jinhui/jinhuiActivitySignIn") + public R jinhuiActivitySignIn(@RequestBody ComActActRegistVO comActActRegistVO); + + + + + @GetMapping("/integral/user/getIntegralUserRank") + public R getIntegralUserRank(@RequestParam("communityId") Long communityId, + @RequestParam("userId") Long userId); + } -- Gitblit v1.7.1