mirror of
https://gitee.com/dromara/sms4j.git
synced 2025-12-06 17:08:40 +08:00
Merge branch 'dev-3.0.x'
This commit is contained in:
commit
ec3104b736
@ -83,9 +83,9 @@
|
|||||||
自定义标识3:
|
自定义标识3:
|
||||||
#助通短信
|
#助通短信
|
||||||
#助通终端用户管理的用户名 username 必填;非登录账号密码,请登录后台管理地址进行查看:https://mix2.zthysms.com/login
|
#助通终端用户管理的用户名 username 必填;非登录账号密码,请登录后台管理地址进行查看:https://mix2.zthysms.com/login
|
||||||
accessKeyId: tushu1122XXX
|
accessKeyId: tusxxxxxxXXX
|
||||||
#助通终端用户管理的用户名 passwrod 必填;
|
#助通终端用户管理的用户名 passwrod 必填;
|
||||||
accessKeySecret: UbXXX4SL
|
accessKeySecret: UbXXXxxx
|
||||||
#短信签名,可选;可选的时候,只能使用自定义短信不能使用模板短信; 具体在这里查看审核过的短信签名:https://mix2.zthysms.com/index.html#/SignatureManagement
|
#短信签名,可选;可选的时候,只能使用自定义短信不能使用模板短信; 具体在这里查看审核过的短信签名:https://mix2.zthysms.com/index.html#/SignatureManagement
|
||||||
signature: 上海千XXXX
|
signature: 上海千XXXX
|
||||||
```
|
```
|
||||||
|
|||||||
@ -37,13 +37,6 @@ public class LianLuConfig extends BaseConfig {
|
|||||||
|
|
||||||
private String requestUrl = "https://apis.shlianlu.com/sms/trade";
|
private String requestUrl = "https://apis.shlianlu.com/sms/trade";
|
||||||
|
|
||||||
/**
|
|
||||||
* 短信签名
|
|
||||||
* 发送普通短信时需使用
|
|
||||||
* 不填会使用平台上设置的默认签名
|
|
||||||
*/
|
|
||||||
private String signName;
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getSupplier() {
|
public String getSupplier() {
|
||||||
return SupplierConstant.LIANLU;
|
return SupplierConstant.LIANLU;
|
||||||
@ -56,6 +49,6 @@ public class LianLuConfig extends BaseConfig {
|
|||||||
.setMchId(getMchId())
|
.setMchId(getMchId())
|
||||||
.setVersion(getVersion())
|
.setVersion(getVersion())
|
||||||
.setSignType(getSignType())
|
.setSignType(getSignType())
|
||||||
.setSignName(getSignName());
|
.setSignName(getSignature());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -130,7 +130,7 @@ public class LianLuSmsImpl extends AbstractSmsBlend<LianLuConfig> {
|
|||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
public SmsResponse sendNormalMessage(List<String> phones, String message) {
|
public SmsResponse sendNormalMessage(List<String> phones, String message) {
|
||||||
return sendNormalMessage(phones, message, getConfig().getSignName());
|
return sendNormalMessage(phones, message, getConfig().getSignature());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user