main
parent
436a7c7601
commit
a5bdf6d523
|
|
@ -46,6 +46,7 @@ public class PhoneCodeController {
|
|||
// if (appRegister != null && appRegister.getStatus() == 2) {
|
||||
// return AjaxResult.error(201, "您的账号申请被驳回,驳回原因: " + appRegister.getRemark());
|
||||
// }
|
||||
System.out.println("-----------------------------------" + phoneNum);
|
||||
if (phoneNum.indexOf("+") != -1) {
|
||||
String redisKey = phoneNum.substring(phoneNum.indexOf("+") + 1,phoneNum.length());
|
||||
redisService.setCacheObject(redisKey,phoneNum);
|
||||
|
|
|
|||
|
|
@ -238,7 +238,7 @@ public class SendNoteUtil {
|
|||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
String phone = "1+4696089013";
|
||||
String phone = "852+69030916";
|
||||
if (!isChineseMobileNumber(phone)) {
|
||||
phone = phone.replace("+","");
|
||||
System.out.println(sendMessageForeign(phone,Integer.valueOf(phone.substring(0,1))));
|
||||
|
|
|
|||
Loading…
Reference in New Issue