fix 企业端短信登录接口

This commit is contained in:
lijiarao
2021-09-24 16:19:35 +08:00
parent d22b4581ee
commit 8b39fd49de
@@ -264,7 +264,11 @@ public class CompanyLoginController {
}
sysBaseAPI.sendVerificationCode(phone,"2",null,null);
String string = redisUtil.get("_verification:_phone:" + PasswordUtil.decrypt(phone)).toString();
return Result.OK(string);
if (Objects.isNull(contactsManagement.getPassword())){
return Result.error(string+"updatePassword");
}else {
return Result.OK(string);
}
}
@ApiOperation(value = "短信验证码修改密码")