This commit is contained in:
liuchengqian 2024-06-01 19:38:52 +08:00
parent fd67804eee
commit 689aea259f

View File

@ -19,9 +19,9 @@ public class AliYunSmsUtils {
//产品域名,开发者无需替换 //产品域名,开发者无需替换
String domain = "dysmsapi.aliyuncs.com"; String domain = "dysmsapi.aliyuncs.com";
//此处需要替换成开发者自己的AK(在阿里云访问控制台寻找) //此处需要替换成开发者自己的AK(在阿里云访问控制台寻找)
String accessKeyId = "LTAI5tMSjLfu8Xu2w6WeguFF"; String accessKeyId = "LTAI5tMa5Va4CSwFwXxKpKfc";
//修改成自己的 //修改成自己的
String accessKeySecret = "hvqM5zpi72hvX4VXM71wq6AE0XYtDI"; String accessKeySecret = "PIUhRNVcApBF3H8TzU8pM1ZI6fjvWQ";
//可自助调整超时时间 //可自助调整超时时间
System.setProperty("sun.net.client.defaultConnectTimeout", "10000"); System.setProperty("sun.net.client.defaultConnectTimeout", "10000");
System.setProperty("sun.net.client.defaultReadTimeout", "10000"); System.setProperty("sun.net.client.defaultReadTimeout", "10000");