Commit 8a4718f7 by huluobin

预约提醒文案

parent 1b800679
......@@ -39,7 +39,7 @@ public class MiniappPushMsgServiceImpl implements PushMsgService {
public void sendScheduleMsg(String openId, String scheduleName, Date arriveTime, String departmentName, String address) {
log.info("推送预约提醒订阅消息");
String tips;
if ((arriveTime.getTime() - System.currentTimeMillis()) / 1000 / 60 < 60) {
if ((arriveTime.getTime() - System.currentTimeMillis()) / 1000 / 60 < 50) {
tips = "您的预约时间很快到了,请准时到店,迟到15分钟将会自动取消";
} else {
tips = "距预约剩余1小时,请准时到店,超时将取消";
......
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