|
|
@ -20,9 +20,9 @@ public class SmsClient { |
|
|
|
|
|
|
|
public static String send(String phone,String code) { |
|
|
|
SmsClient client = new SmsClient(); |
|
|
|
String response = client.sendSms("yixuan02", Arrays.asList( |
|
|
|
new Message(phone, "【宜轩到家】您的验证码为:"+code) |
|
|
|
), System.currentTimeMillis(), "WwYRzlXw5W4D"); |
|
|
|
String response = client.sendSms("tianduxx", Arrays.asList( |
|
|
|
new Message(phone, "【天都服务】您的验证码为:"+code) |
|
|
|
), System.currentTimeMillis(), "KXHQ2boE1wP6"); |
|
|
|
System.out.println(response); |
|
|
|
return response; |
|
|
|
} |
|
|
@ -30,9 +30,9 @@ public class SmsClient { |
|
|
|
|
|
|
|
public static String sendMsg2(String phone,String name) { |
|
|
|
SmsClient client = new SmsClient(); |
|
|
|
String response = client.sendSms("yixuan02", Arrays.asList( |
|
|
|
new Message(phone, "【宜轩到家】可爱的理疗师"+name+"您有一笔新订单下单哦!") |
|
|
|
), System.currentTimeMillis(), "WwYRzlXw5W4D"); |
|
|
|
String response = client.sendSms("tianduxx", Arrays.asList( |
|
|
|
new Message(phone, "【天都服务】可爱的理疗师"+name+"您有一笔新订单下单哦!") |
|
|
|
), System.currentTimeMillis(), "KXHQ2boE1wP6"); |
|
|
|
System.out.println(response); |
|
|
|
return response; |
|
|
|
} |
|
|
|