update 发送验证码时不返回

This commit is contained in:
lijiarao
2021-12-26 16:26:23 +08:00
parent c65289ff13
commit 7bd8b7a629
2 changed files with 6 additions and 6 deletions
@@ -393,8 +393,8 @@ public class CompanyLoginController {
@RequestParam(name="codeType") String codeType) {
if("3".equals(codeType)) {
sysBaseAPI.sendVerificationCode(phone,codeType,"300",null);
String string = redisUtil.get("_verification:_phone:" + phone).toString();
return Result.OK(string);
//String string = redisUtil.get("_verification:_phone:" + phone).toString();
return Result.OK();
}
LambdaQueryWrapper<PayContactsManagement> queryWrapper = new LambdaQueryWrapper<>();
@@ -404,8 +404,8 @@ public class CompanyLoginController {
throw new JeroBootException("手机号不是企业联系人");
}
sysBaseAPI.sendVerificationCode(phone,codeType,"300",null);
String string = redisUtil.get("_verification:_phone:" + phone).toString();
return Result.OK(string);
//String string = redisUtil.get("_verification:_phone:" + phone).toString();
return Result.OK();
}
@ApiOperation(value = "短信验证码修改密码")
@@ -640,7 +640,7 @@ public class LoginController {
throw new JeroBootException("手机号或账号不存在");
}
sysBaseAPI.sendVerificationCode(phone,"2","300",null);
String string = redisUtil.get("_verification:_phone:" + phone).toString();
return Result.OK(string);
//String string = redisUtil.get("_verification:_phone:" + phone).toString();
return Result.OK();
}
}