|
@@ -7,10 +7,10 @@ import org.springframework.util.MultiValueMap;
|
|
import org.springframework.web.client.RestTemplate;
|
|
import org.springframework.web.client.RestTemplate;
|
|
|
|
|
|
public class SMSUtils {
|
|
public class SMSUtils {
|
|
- private static String url = "http://47.96.109.82:9999/sms.aspx";
|
|
|
|
- private static String userid = "321";
|
|
|
|
- private static String account = "0755cmxx";
|
|
|
|
- private static String password = "CaimeiSMS999";
|
|
|
|
|
|
+// private static String url = "http://47.96.109.82:9999/sms.aspx";
|
|
|
|
+// private static String userid = "321";
|
|
|
|
+// private static String account = "0755cmxx";
|
|
|
|
+// private static String password = "CaimeiSMS999";
|
|
|
|
|
|
public static boolean sendSms(String mobile, String content){
|
|
public static boolean sendSms(String mobile, String content){
|
|
|
|
|
|
@@ -37,6 +37,6 @@ public class SMSUtils {
|
|
|
|
|
|
public static void main(String[] args) {
|
|
public static void main(String[] args) {
|
|
//System.out.println(sendSms("13631650502", "您登录亲朋棋牌的手机短 信验证码是:7895,祝您游戏愉快!请确认账号是由本人操作"));
|
|
//System.out.println(sendSms("13631650502", "您登录亲朋棋牌的手机短 信验证码是:7895,祝您游戏愉快!请确认账号是由本人操作"));
|
|
- System.out.println(sendSms("15814011616", "您短信验证码是:7895"));
|
|
|
|
|
|
+ // System.out.println(sendSms("15814011616", "您短信验证码是:7895"));
|
|
}
|
|
}
|
|
}
|
|
}
|