fix: 取消验证失败删除缓存

This commit is contained in:
landaiqing
2024-05-11 01:19:56 +08:00
parent 5821fe7b94
commit 03861fc499

View File

@@ -32,7 +32,7 @@ public class ReactRotateCaptchaController {
public final String authRotateCaptchaPrefix = "auth.RotateCaptcha"; public final String authRotateCaptchaPrefix = "auth.RotateCaptcha";
/** /**
* @description:获取图片 * @description: 获取图片
* @param: [] * @param: []
* @return: java.lang.String * @return: java.lang.String
* @author zlg * @author zlg
@@ -82,7 +82,6 @@ public class ReactRotateCaptchaController {
redisUtil.del(prefix); redisUtil.del(prefix);
return CaptchaResult.ok(); return CaptchaResult.ok();
} else { } else {
redisUtil.del(prefix);
return CaptchaResult.fail(); return CaptchaResult.fail();
} }
} else { } else {