mirror of
https://gitee.com/dromara/sms4j.git
synced 2025-12-06 08:58:38 +08:00
update sms4j-provider/src/main/java/org/dromara/sms4j/submail/service/SubMailSmsImpl.java.
fix 修复SubMail获取timestamp时,由于取值key错误导致无法获取timestamp,导致短信无法发送 Signed-off-by: Bleachtred <bleachtred@163.com>
This commit is contained in:
parent
e81eeffe40
commit
1a31bb5189
@ -360,6 +360,6 @@ public class SubMailSmsImpl extends AbstractSmsBlend<SubMailConfig> {
|
|||||||
|
|
||||||
private String timestamp(){
|
private String timestamp(){
|
||||||
JSONObject resp = http.getUrl("https://api-v4.mysubmail.com/service/timestamp");
|
JSONObject resp = http.getUrl("https://api-v4.mysubmail.com/service/timestamp");
|
||||||
return resp.getStr("resp");
|
return resp.getStr("timestamp");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user