From 5e6d0b79e3809931e10404645ac73583a2798574 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=81=E5=89=91=E9=94=8B?= <1822213252@qq.com> Date: Tue, 28 Jun 2022 10:56:05 +0000 Subject: [PATCH] =?UTF-8?q?update=20=E6=96=B0=E5=A2=9E=E7=9F=AD=E4=BF=A1?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E5=AE=9E=E7=8E=B0=E7=B1=BB@Override=E6=B3=A8?= =?UTF-8?q?=E8=A7=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/ruoyi/sms/core/AliyunSmsTemplate.java | 1 + .../src/main/java/com/ruoyi/sms/core/TencentSmsTemplate.java | 1 + 2 files changed, 2 insertions(+) diff --git a/ruoyi-sms/src/main/java/com/ruoyi/sms/core/AliyunSmsTemplate.java b/ruoyi-sms/src/main/java/com/ruoyi/sms/core/AliyunSmsTemplate.java index 87c3f3bd..eede376e 100644 --- a/ruoyi-sms/src/main/java/com/ruoyi/sms/core/AliyunSmsTemplate.java +++ b/ruoyi-sms/src/main/java/com/ruoyi/sms/core/AliyunSmsTemplate.java @@ -38,6 +38,7 @@ public class AliyunSmsTemplate implements SmsTemplate { this.client = new Client(config); } + @Override public SmsResult send(String phones, String templateId, Map param) { if (StringUtils.isBlank(phones)) { throw new SmsException("手机号不能为空"); diff --git a/ruoyi-sms/src/main/java/com/ruoyi/sms/core/TencentSmsTemplate.java b/ruoyi-sms/src/main/java/com/ruoyi/sms/core/TencentSmsTemplate.java index ce82c3c6..1de8eae1 100644 --- a/ruoyi-sms/src/main/java/com/ruoyi/sms/core/TencentSmsTemplate.java +++ b/ruoyi-sms/src/main/java/com/ruoyi/sms/core/TencentSmsTemplate.java @@ -43,6 +43,7 @@ public class TencentSmsTemplate implements SmsTemplate { this.client = new SmsClient(credential, "", clientProfile); } + @Override public SmsResult send(String phones, String templateId, Map param) { if (StringUtils.isBlank(phones)) { throw new SmsException("手机号不能为空");