Fixed:修复了助通短信发送模板短信时请求 URL地址错误的问题。

This commit is contained in:
JackZhai 2024-03-20 12:07:54 +08:00
parent a5535665f7
commit b6c7c93c38

View File

@ -238,7 +238,7 @@ public class ZhutongSmsImpl extends AbstractSmsBlend<ZhutongConfig> {
headers.put("Content-Type", Constant.APPLICATION_JSON_UTF8);
SmsResponse smsResponse;
try {
smsResponse = getResponse(http.postJson(requestUrl, headers, requestJson.toString()));
smsResponse = getResponse(http.postJson(url, headers, requestJson.toString()));
} catch (SmsBlendException e) {
smsResponse = new SmsResponse();
smsResponse.setSuccess(false);