验证码修复

This commit is contained in:
lyf 2023-02-06 19:52:53 +08:00
parent 77235109a1
commit 9740cbc4b7
1 changed files with 3 additions and 3 deletions

View File

@ -114,9 +114,9 @@ public class UserInfoController {
String checkCode = StringUtil.random(6);
phoneValidateCode.setCode(checkCode);
Result<Object> result = validateCodeUtil.requestValidateCodeALi(phoneValidateCode.getPhone(), checkCode);
if (result != null) {
return result;
}
// if (result != null) {
// return result;
// }
//根据当前手机号查询当前手机号是否有验证码信息
phoneValidateCodeService.saveOrReplaceIfExist(phoneValidateCode);
return ResultGenerator.genSuccessResult();