Commit d6996e16 authored by wujipeng's avatar wujipeng
Browse files

月初短信通知签名/模板编号替换

parent f9424aaf
......@@ -67,7 +67,7 @@ public class InTheEarlyTask {
ScheduleEntity scheduleEntity = scheduleService.getUser(dates[0], dates[1]);
Map<String, String> map = new HashMap<>();
map.put("name", scheduleEntity.getName());
SmsUtil.sendMsg(scheduleEntity.getPhone(), "SMS_491150329", map);
SmsUtil.sendMsg(scheduleEntity.getPhone(), "SMS_496050475", map);
//保存短信发送历史记录
smsInformService.save(SmsInformEntity.builder()
.name(scheduleEntity.getName())
......
......@@ -32,7 +32,7 @@ public class SmsUtil {
//接收号码
request.putQueryParameter("PhoneNumbers", phoneNum);
//短信签名(如某某科技有限公司)
request.putQueryParameter("SignName", "南京如昼信息科技");
request.putQueryParameter("SignName", "南京如昼信息科技有限公司");
//短信模板
request.putQueryParameter("TemplateCode", template);
//验证码
......
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