验证码修复
This commit is contained in:
parent
77235109a1
commit
9740cbc4b7
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue