【captcha】更新校验的判断

pull/3/head
fengshuonan 2021-01-16 10:43:52 +08:00
parent af68c371f6
commit 024f9f82e2
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ public class AuthServiceImpl implements AuthServiceApi {
throw new AuthException(ValidatorExceptionEnum.CAPTCHA_EMPTY);
}
if (!captchaApi.validateCaptcha(verKey, verCode)) {
throw new AuthException(ValidatorExceptionEnum.CAPTCHA_EMPTY);
throw new AuthException(ValidatorExceptionEnum.CAPTCHA_ERROR);
}
}