From 77ac99a1d0cad1f8d48f45a6f8e2d93d29c8f105 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期二, 12 七月 2022 22:52:06 +0800 Subject: [PATCH] !198 Merge remote-tracking branch 'origin/dev' into dev Merge pull request !198 from 孤舟烟雨/auto-494979-dev-1657633741164 --- ruoyi-sms/src/main/java/com/ruoyi/sms/core/AliyunSmsTemplate.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) 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 87c3f3b..3c16a5b 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 @@ this.client = new Client(config); } + @Override public SmsResult send(String phones, String templateId, Map<String, String> param) { if (StringUtils.isBlank(phones)) { throw new SmsException("鎵嬫満鍙蜂笉鑳戒负绌�"); @@ -55,7 +56,7 @@ return SmsResult.builder() .isSuccess("OK".equals(resp.getBody().getCode())) .message(resp.getBody().getMessage()) - .response(resp) + .response(JsonUtils.toJsonString(resp)) .build(); } catch (Exception e) { throw new SmsException(e.getMessage()); -- Gitblit v1.9.3