记得上下班打卡 | git大法好,push需谨慎

Commit 2d81d0f8 authored by jiangxiulong's avatar jiangxiulong

sweet log

parent daf54bea
......@@ -64,7 +64,7 @@ public class SweetWechatTemplateServiceImpl {
SweetWechatUser sweetWechatUser = redisDataUtils.getSweetWechatUser(remindInfo.getUnionId());
KylinPerformanceVo performanceVo = (KylinPerformanceVo) redisUtil.get(KylinRedisConst.PERFORMANCES.concat(remindInfo.getPerformancesId()));
if (null == sweetWechatUser || null == performanceVo) {
log.info("\n无用户或者演出数据:[UnionId=[{}], [getPerformancesId=[{}]",
log.info("无用户或者演出数据:[UnionId=[{}], [getPerformancesId=[{}]",
remindInfo.getUnionId(), remindInfo.getPerformancesId());
continue;
}
......@@ -81,13 +81,13 @@ public class SweetWechatTemplateServiceImpl {
String stopSellTime = performanceVo.getStopSellTime();
if (1 == DateUtil.compareStrDay(nowTimeStr, stopSellTime)) { // 超过售卖期 不推 删redis
log.info("\n超过售卖期:[nowTimeStr=[{}], [stopSellTime=[{}]",
log.info("超过售卖期:[nowTimeStr=[{}], [stopSellTime=[{}]",
nowTimeStr, stopSellTime);
redisDataUtils.delSweetRemind(remindInfo.getUnionId());
continue;
}
if (-1 == DateUtil.compareStrDay(nowTimeStr, sellTimeLocalNewStr)) { // 还没到售卖期
log.info("\n还没到售卖期:[nowTimeStr=[{}], [sellTimeLocalNewStr=[{}]",
log.info("还没到售卖期:[nowTimeStr=[{}], [sellTimeLocalNewStr=[{}]",
nowTimeStr, sellTimeLocalNewStr);
continue;
......@@ -119,7 +119,7 @@ public class SweetWechatTemplateServiceImpl {
} catch (WxErrorException e) {
log.error("小程序演出提醒消息发送异常", e);
}
log.info(msgId);
log.info("发送成功:[msgId=[{}]", msgId);
} catch (Exception e) {
log.error("小程序演出提醒消息处理异常", e);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment