fix: 取消验证失败删除缓存
This commit is contained in:
@@ -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 {
|
||||||
|
Reference in New Issue
Block a user