Commit 350b7477 by YG8999

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

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