mirror of
https://gitee.com/dromara/sms4j.git
synced 2025-12-07 01:18:33 +08:00
fix:修复网易云信短信群发时发送消息与模板id参数传参顺序错误问题
This commit is contained in:
parent
fc4830b58c
commit
6c29ca195d
@ -97,7 +97,7 @@ public class NeteaseSmsImpl extends AbstractSmsBlend<NeteaseConfig> {
|
|||||||
throw new SmsBlendException("单次发送超过最大发送上限,建议每次群发短信人数低于100");
|
throw new SmsBlendException("单次发送超过最大发送上限,建议每次群发短信人数低于100");
|
||||||
}
|
}
|
||||||
Optional.ofNullable(getConfig().getTemplateId()).orElseThrow(() -> new SmsBlendException("模板ID不能为空"));
|
Optional.ofNullable(getConfig().getTemplateId()).orElseThrow(() -> new SmsBlendException("模板ID不能为空"));
|
||||||
return getSmsResponse(getConfig().getTemplateUrl(), phones, getConfig().getTemplateId(), message);
|
return getSmsResponse(getConfig().getTemplateUrl(), phones,message, getConfig().getTemplateId());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user