更改发送短信,

This commit is contained in:
lyf
2023-01-28 17:21:04 +08:00
parent b017339f5f
commit 76c4265134
38 changed files with 446 additions and 1831 deletions

View File

@@ -101,7 +101,7 @@ public class PhoneValidateCodeController {
String checkCode = StringUtil.random(4);
phoneValidateCode.setCode(checkCode);
try {
Result<Object> result = validateCodeUtil.requestValidateCode(phoneValidateCode.getPhone(), checkCode);
Result<Object> result = validateCodeUtil.requestValidateCodeALi(phoneValidateCode.getPhone(), checkCode);
if (result != null) {
return result;
}

View File

@@ -111,9 +111,9 @@ public class UserInfoController {
PhoneValidateCode phoneValidateCode = new PhoneValidateCode();
phoneValidateCode.setPhone(phone);
String checkCode = StringUtil.random(4);
String checkCode = StringUtil.random(6);
phoneValidateCode.setCode(checkCode);
Result<Object> result = validateCodeUtil.requestValidateCode(phoneValidateCode.getPhone(), checkCode);
Result<Object> result = validateCodeUtil.requestValidateCodeALi(phoneValidateCode.getPhone(), checkCode);
if (result != null) {
return result;
}