We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用版本: com.anji-plus spring-boot-starter-captcha 1.3.0 在AbstractCaptchaService类中的如下方法: protected void afterValidateFail(CaptchaVO data) { if (limitHandler != null) { // 验证失败 分钟内计数 String fails = String.format(FrequencyLimitHandler.LIMIT_KEY, "FAIL", data.getClientUid()); CaptchaCacheService cs = getCacheService(cacheType); if (!cs.exists(fails)) { cs.set(fails, "1", 60); } cs.increment(fails, 1); } } incr会爆出ERR wrong number of arguments for 'incr' command错误
The text was updated successfully, but these errors were encountered:
遇到了同样问题,临时解决方案是重写了set方法的逻辑,判断如果字符串是数字的话,存入redis时将字符串转为数字类型
Sorry, something went wrong.
No branches or pull requests
使用版本:
com.anji-plus
spring-boot-starter-captcha
1.3.0
在AbstractCaptchaService类中的如下方法:
protected void afterValidateFail(CaptchaVO data) {
if (limitHandler != null) {
// 验证失败 分钟内计数
String fails = String.format(FrequencyLimitHandler.LIMIT_KEY, "FAIL", data.getClientUid());
CaptchaCacheService cs = getCacheService(cacheType);
if (!cs.exists(fails)) {
cs.set(fails, "1", 60);
}
cs.increment(fails, 1);
}
}
incr会爆出ERR wrong number of arguments for 'incr' command错误
The text was updated successfully, but these errors were encountered: