From c4b62788b53fa14008d8e76ae9d0e5b9f5d01b1b Mon Sep 17 00:00:00 2001 From: zlyx <1242874891@qq.com> Date: 星期四, 30 三月 2023 09:14:31 +0800 Subject: [PATCH] add 新增 LoginTenantVo 用于租户对象返回 ; update 更新 AuthController#tenantList 返回租户开关以及租户列表 ; --- ruoyi-common/ruoyi-common-sms/src/main/java/com/ruoyi/common/sms/core/TencentSmsTemplate.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ruoyi-common/ruoyi-common-sms/src/main/java/com/ruoyi/common/sms/core/TencentSmsTemplate.java b/ruoyi-common/ruoyi-common-sms/src/main/java/com/ruoyi/common/sms/core/TencentSmsTemplate.java index a7be95a..8dbd1ad 100644 --- a/ruoyi-common/ruoyi-common-sms/src/main/java/com/ruoyi/common/sms/core/TencentSmsTemplate.java +++ b/ruoyi-common/ruoyi-common-sms/src/main/java/com/ruoyi/common/sms/core/TencentSmsTemplate.java @@ -53,7 +53,7 @@ throw new SmsException("妯℃澘ID涓嶈兘涓虹┖"); } SendSmsRequest req = new SendSmsRequest(); - Set<String> set = Arrays.stream(phones.split(",")).map(p -> "+86" + p).collect(Collectors.toSet()); + Set<String> set = Arrays.stream(phones.split(StringUtils.SEPARATOR)).map(p -> "+86" + p).collect(Collectors.toSet()); req.setPhoneNumberSet(ArrayUtil.toArray(set, String.class)); if (CollUtil.isNotEmpty(param)) { req.setTemplateParamSet(ArrayUtil.toArray(param.values(), String.class)); -- Gitblit v1.9.3