Commit 350b7477 by YG8999

订单预定添加客服短信发送修改

parent a9435942
...@@ -245,8 +245,8 @@ public class SmsServiceImpl implements SmsService { ...@@ -245,8 +245,8 @@ public class SmsServiceImpl implements SmsService {
// 通过配置获取短信模版 // 通过配置获取短信模版
String configValue = sysConfigService.selectConfigByKey(SmsTypeEnum.SMS_ORDER_PREDETERMINE_TEMP.getValue()); String configValue = sysConfigService.selectConfigByKey(SmsTypeEnum.SMS_ORDER_PREDETERMINE_TEMP.getValue());
if (StrUtil.isNotEmpty(configValue)) { if (StrUtil.isNotEmpty(configValue)) {
String content = MessageFormat.format(configValue, DateUtil.formatDateTime(order.getPreStartDate()) String content = MessageFormat.format(configValue, store.getName(), room.getName(),
, DateUtil.formatDateTime(order.getPreEndDate()), store.getName(), room.getName()); DateUtil.formatDateTime(order.getPreStartDate()), DateUtil.formatDateTime(order.getPreEndDate()));
return sendManySms(phones, SmsTypeEnum.SMS_ORDER_PREDETERMINE_TEMP.getCode(), content, return sendManySms(phones, SmsTypeEnum.SMS_ORDER_PREDETERMINE_TEMP.getCode(), content,
store.getId(), room.getId()); store.getId(), room.getId());
} else { } else {
......
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