update 新增短信接口实现类@Override注解

feature/model
梁剑锋 2 years ago committed by Gitee
parent 6b0d9214a9
commit 5e6d0b79e3
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

@ -38,6 +38,7 @@ public class AliyunSmsTemplate implements SmsTemplate {
this.client = new Client(config);
}
@Override
public SmsResult send(String phones, String templateId, Map<String, String> param) {
if (StringUtils.isBlank(phones)) {
throw new SmsException("手机号不能为空");

@ -43,6 +43,7 @@ public class TencentSmsTemplate implements SmsTemplate {
this.client = new SmsClient(credential, "", clientProfile);
}
@Override
public SmsResult send(String phones, String templateId, Map<String, String> param) {
if (StringUtils.isBlank(phones)) {
throw new SmsException("手机号不能为空");

Loading…
Cancel
Save