短信引擎保存

This commit is contained in:
TinyAnts 2022-08-23 14:58:02 +08:00
parent 2c434f8c90
commit 9efdbf96a6
1 changed files with 2 additions and 1 deletions

View File

@ -101,7 +101,6 @@ public class SettingSmsServiceImpl implements ISettingSmsService {
map.put("secretKey", params.getOrDefault("secretKey", ""));
break;
case "tencent":
System.out.println("来了吗");
map.put("name", "腾讯云短信");
map.put("alias", "aliyun");
map.put("sign", params.getOrDefault("sign", ""));
@ -109,6 +108,8 @@ public class SettingSmsServiceImpl implements ISettingSmsService {
map.put("secretId", params.getOrDefault("secretId", ""));
map.put("secretKey", params.getOrDefault("secretKey", ""));
break;
case "huawei":
break;
}
ConfigUtil.set("sms", params.get("alias"), JSON.toJSONString(map));