fix 企业端短信登录接口
This commit is contained in:
+5
-1
@@ -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 = "短信验证码修改密码")
|
||||
|
||||
Reference in New Issue
Block a user