|
|
@@ -9,7 +9,6 @@ import com.aliyun.sdk.service.dysmsapi20170525.models.SendSmsRequest;
|
|
|
import com.aliyun.sdk.service.dysmsapi20170525.models.SendSmsResponse;
|
|
|
import darabonba.core.client.ClientOverrideConfiguration;
|
|
|
|
|
|
-import java.util.HashMap;
|
|
|
import java.util.Map;
|
|
|
import java.util.concurrent.CompletableFuture;
|
|
|
|
|
|
@@ -55,22 +54,22 @@ public class SendShortMessageUtil {
|
|
|
}
|
|
|
|
|
|
public static void sendVerifyCode(String phoneNumber, String verifyCode) {
|
|
|
- String templateCode = "SMS_483325081";
|
|
|
- Map<String, String> params = new HashMap<>();
|
|
|
- params.put("code", verifyCode);
|
|
|
- sendShortMessage(phoneNumber, templateCode, params);
|
|
|
+ //String templateCode = "SMS_483325081";
|
|
|
+ //Map<String, String> params = new HashMap<>();
|
|
|
+ //params.put("code", verifyCode);
|
|
|
+ //sendShortMessage(phoneNumber, templateCode, params);
|
|
|
}
|
|
|
|
|
|
|
|
|
public static void main(String[] args) {
|
|
|
// 初始化账号密码
|
|
|
- String phoneNumbers = "18742010048";
|
|
|
- String signName = "票圈视频";
|
|
|
- String templateCode = "SMS_463221247";
|
|
|
- Map<String, String> params = new HashMap<>();
|
|
|
- params.put("username", "admin021");
|
|
|
- params.put("password", "admin021");
|
|
|
- sendShortMessage(phoneNumbers, templateCode, params);
|
|
|
+ //String phoneNumbers = "18742010048";
|
|
|
+ //String signName = "票圈视频";
|
|
|
+ //String templateCode = "SMS_463221247";
|
|
|
+ //Map<String, String> params = new HashMap<>();
|
|
|
+ //params.put("username", "admin021");
|
|
|
+ //params.put("password", "admin021");
|
|
|
+ //sendShortMessage(phoneNumbers, templateCode, params);
|
|
|
}
|
|
|
|
|
|
}
|