Java实现阿里云发短信接口
文章目录
短信验证码阿里云API接口
测试代码
//需要发送验证码的手机号 和 动态验证码
public static void main(String[] args) {
msg("1311****1620","1234");
}
//实现方法
static String msg(String phone,String code){
//默认配置文件 key accessKeyId访问密钥账户ID
DefaultProfile profile = DefaultProfile.getPro
原创
2020-08-17 20:12:21 ·
538 阅读 ·
0 评论