|
@@ -32,8 +32,6 @@ public class SmsUtil {
|
|
|
try {
|
|
try {
|
|
|
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");
|
|
|
- //初始化acsClient,暂不支持region化
|
|
|
|
|
- String accessKeySecret = "ClQ2q9fxytnhDraX7axAOjlK0zGJAP";
|
|
|
|
|
IClientProfile profile = DefaultProfile.getProfile("cn-hangzhou", accessKeyId, accessKeySecret);
|
|
IClientProfile profile = DefaultProfile.getProfile("cn-hangzhou", accessKeyId, accessKeySecret);
|
|
|
|
|
|
|
|
DefaultProfile.addEndpoint("cn-hangzhou", "cn-hangzhou", product, domain);
|
|
DefaultProfile.addEndpoint("cn-hangzhou", "cn-hangzhou", product, domain);
|