From 693a33f660891c98b8b95490d020c428c5da9871 Mon Sep 17 00:00:00 2001
From: 抓蛙师 <770492966@qq.com>
Date: 星期一, 19 九月 2022 21:46:32 +0800
Subject: [PATCH] 完善功能:前端可以配置多排序参数支持依次排序 如:{isAsc:"asc",orderByColumn:"id"} {isAsc:"asc",orderByColumn:"id,createTime"} {isAsc:"asc,desc",orderByColumn:"id,createTime"} 共三种配置方式

---
 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