From 70d2a5d0f9c6951b2d4cac954041ed73582ff7eb Mon Sep 17 00:00:00 2001 From: liujie <1793218484@qq.com> Date: 星期一, 09 六月 2025 11:54:00 +0800 Subject: [PATCH] 6.9新增登录失败冻结逻辑 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/schedule/AcidSchedule.java | 30 +++++++++++++++--------------- 1 files changed, 15 insertions(+), 15 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/schedule/AcidSchedule.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/schedule/AcidSchedule.java index aee6446..507dc69 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/schedule/AcidSchedule.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/schedule/AcidSchedule.java @@ -33,19 +33,19 @@ @Resource private ComActAcidRecordDao comActAcidRecordDao; - @Scheduled(cron = "0 0 9 * * *") - public void push(){ - List<ComActAcidMemberVO> comActAcidMemberList=comActAcidMemberDao.selectPushList(""); - comActAcidMemberList.forEach(comActAcidMember -> { - FiveCount fiveCount=comActAcidRecordDao.pushStatics(DateUtils.getDateFormatString(DateUtils.addDay(new Date(),-1),"yyyy-MM-dd"),comActAcidMember.getRelationName()); - WxXCXTempSend util = new WxXCXTempSend(); - String accessToken = null; - try { - accessToken = util.getAccessToken(); - } catch (Exception e) { - e.printStackTrace(); - } - WxUtil.sendSubscribeStatics(comActAcidMember.getOpenid(), accessToken, fiveCount, "Yr5idSziLRiRo0t07mcz284sMm41Kr2KsA5UmSc0jWU"); - }); - } +// @Scheduled(cron = "0 0 9 * * *") +// public void push(){ +// List<ComActAcidMemberVO> comActAcidMemberList=comActAcidMemberDao.selectPushList(""); +// comActAcidMemberList.forEach(comActAcidMember -> { +// FiveCount fiveCount=comActAcidRecordDao.pushStatics(DateUtils.getDateFormatString(DateUtils.addDay(new Date(),-1),"yyyy-MM-dd"),comActAcidMember.getRelationName()); +// WxXCXTempSend util = new WxXCXTempSend(); +// String accessToken = null; +// try { +// accessToken = util.getAccessToken(); +// } catch (Exception e) { +// e.printStackTrace(); +// } +// WxUtil.sendSubscribeStatics(comActAcidMember.getOpenid(), accessToken, fiveCount, "Yr5idSziLRiRo0t07mcz284sMm41Kr2KsA5UmSc0jWU"); +// }); +// } } -- Gitblit v1.7.1