|
@@ -105,6 +105,7 @@ public class StatisticsTask {
|
|
// 获取昨天日期字符串
|
|
// 获取昨天日期字符串
|
|
Calendar calendar = Calendar.getInstance();
|
|
Calendar calendar = Calendar.getInstance();
|
|
calendar.setTime(new Date());
|
|
calendar.setTime(new Date());
|
|
|
|
+ String dateNewStr = new SimpleDateFormat("yyyy-MM-dd").format(calendar.getTime());
|
|
calendar.add(Calendar.DAY_OF_MONTH, -1);
|
|
calendar.add(Calendar.DAY_OF_MONTH, -1);
|
|
String dateStr = new SimpleDateFormat("yyyy-MM-dd").format(calendar.getTime());
|
|
String dateStr = new SimpleDateFormat("yyyy-MM-dd").format(calendar.getTime());
|
|
log.info(">>>>>>>>>>>【定时任务】统计前一天针对机构访问商城形式的活跃行为,统计日期(前一天):" + dateStr);
|
|
log.info(">>>>>>>>>>>【定时任务】统计前一天针对机构访问商城形式的活跃行为,统计日期(前一天):" + dateStr);
|
|
@@ -144,7 +145,7 @@ public class StatisticsTask {
|
|
.templateId("Zd7ewJw9-bN-gIgra9flKW96W3YehikRPPkDXPfhmQ0")
|
|
.templateId("Zd7ewJw9-bN-gIgra9flKW96W3YehikRPPkDXPfhmQ0")
|
|
.keyWords(keyWords)
|
|
.keyWords(keyWords)
|
|
.remark("为了更好给您服务,请及时联系采美客服!")
|
|
.remark("为了更好给您服务,请及时联系采美客服!")
|
|
- .pagePath("pages/seller/notice/service/Institutional_visits?spId="+spId+"&accDateTime="+dateStr));
|
|
|
|
|
|
+ .pagePath("pages/seller/notice/service/Institutional_visits?spId="+spId+"&accDateTime="+dateNewStr));
|
|
messageSender.messageSend(wechatTemplateMessageMessageModel);
|
|
messageSender.messageSend(wechatTemplateMessageMessageModel);
|
|
}
|
|
}
|
|
//访问商城形式的不活跃行为 短信推送
|
|
//访问商城形式的不活跃行为 短信推送
|