feat(sso): 登录接口改为校验图形验证码
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
460ba0d969
commit
57337d9e73
@ -112,7 +112,11 @@ public class AuthServiceImpl implements AuthService {
|
||||
|
||||
@Override
|
||||
public AuthLoginRespVO login(AuthLoginReqVO reqVO) {
|
||||
final Boolean checked = verifyService.checkVerifyToken(reqVO.getCaptchaVerification());
|
||||
// 校验图形验证码
|
||||
final Boolean checked = verifyService.checkCaptcha(
|
||||
reqVO.getCaptchaVerification(),
|
||||
reqVO.getCaptchaCode()
|
||||
);
|
||||
if (!checked) {
|
||||
throw exception(AUTH_LOGIN_CAPTCHA_CODE_ERROR);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user