mirror of
https://gitee.com/dromara/sms4j.git
synced 2025-12-07 01:18:33 +08:00
Fixed:修复了助通短信发送模板短信时请求 URL地址错误的问题。
This commit is contained in:
parent
a5535665f7
commit
b6c7c93c38
@ -238,7 +238,7 @@ public class ZhutongSmsImpl extends AbstractSmsBlend<ZhutongConfig> {
|
|||||||
headers.put("Content-Type", Constant.APPLICATION_JSON_UTF8);
|
headers.put("Content-Type", Constant.APPLICATION_JSON_UTF8);
|
||||||
SmsResponse smsResponse;
|
SmsResponse smsResponse;
|
||||||
try {
|
try {
|
||||||
smsResponse = getResponse(http.postJson(requestUrl, headers, requestJson.toString()));
|
smsResponse = getResponse(http.postJson(url, headers, requestJson.toString()));
|
||||||
} catch (SmsBlendException e) {
|
} catch (SmsBlendException e) {
|
||||||
smsResponse = new SmsResponse();
|
smsResponse = new SmsResponse();
|
||||||
smsResponse.setSuccess(false);
|
smsResponse.setSuccess(false);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user