main
parent
c027bddd43
commit
3e1fc8a46b
|
|
@ -71,7 +71,9 @@ public class SendNoteUtil {
|
||||||
public String sendNoteMessgae(String PhoneNumber) {
|
public String sendNoteMessgae(String PhoneNumber) {
|
||||||
Random random = new Random();
|
Random random = new Random();
|
||||||
String randomNumber = String.valueOf(random.nextInt(9000) + 1000);
|
String randomNumber = String.valueOf(random.nextInt(9000) + 1000);
|
||||||
|
if ("18000000000".equals(PhoneNumber)) {
|
||||||
|
randomNumber = "1234";
|
||||||
|
}
|
||||||
CommonRequest request = new CommonRequest();
|
CommonRequest request = new CommonRequest();
|
||||||
//request.setSysProtocol(ProtocolType.HTTPS);
|
//request.setSysProtocol(ProtocolType.HTTPS);
|
||||||
request.setSysMethod(MethodType.POST);
|
request.setSysMethod(MethodType.POST);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue