From b22bc1a0d7931c9e91b96f1cd7c1c1855ff69ebf Mon Sep 17 00:00:00 2001 From: 101captain <237651143@qq.com> Date: 星期二, 18 一月 2022 13:46:11 +0800 Subject: [PATCH] Merge branch 'yibin' into test --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/CommunityApi.java | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/CommunityApi.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/CommunityApi.java index 8712b7f..9a023bc 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/CommunityApi.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/CommunityApi.java @@ -14,6 +14,7 @@ import javax.annotation.Resource; import com.panzhihua.common.model.vos.community.ComActActivityTypeVO; +import com.panzhihua.common.model.vos.user.SysTemplateConfigVO; import com.panzhihua.service_community.dao.ComActActEvaluateDAO; import com.panzhihua.service_community.model.dos.*; import com.panzhihua.service_community.service.*; @@ -1515,8 +1516,8 @@ * @return 社区集合 按照创建顺序倒序排列 */ @PostMapping("listcommunityall") - public R listCommunityAll() { - return comActService.listCommunityAll(); + public R listCommunityAll(@RequestParam("areaCode") String areaCode) { + return comActService.listCommunityAll(areaCode); } /** @@ -2240,10 +2241,11 @@ String openid = map.get("openid"); try { WxXCXTempSend util = new WxXCXTempSend(); + R<SysTemplateConfigVO> sysTemplateConfigVO=userService.selectTemplate(eldersAuthFeedbackAddDTO.getAreaCode(),5); String accessToken = util.getAppAccessToken(); WxUtil.sendSubscribeRZSH(openid, accessToken, "高龄认证", DateUtils.format(eldersAuthDO.getCreateAt(), DateUtils.ymdhms_format), - eldersAuthFeedbackAddDTO.getFeedBack()); + eldersAuthFeedbackAddDTO.getFeedBack(),sysTemplateConfigVO.getData().getTemplateId()); } catch (Exception e) { log.error("推送审核状态订阅消息失败,失败原因:" + e.getMessage()); } @@ -2315,8 +2317,8 @@ * @return 社区列表 */ @GetMapping("/eventgrid/community/westList") - public R getWestCommunityLists() { - return comActService.getWestCommunityLists(); + public R getWestCommunityLists(String areaCode) { + return comActService.getWestCommunityLists(areaCode); } /** -- Gitblit v1.7.1