加入旋转图片验证码

This commit is contained in:
天爱有情
2022-04-24 15:23:19 +08:00
parent bf971e2d9f
commit 270cf02d57
@@ -113,7 +113,7 @@ public class CacheImageCaptchaGenerator implements ImageCaptchaGenerator {
return target.generateCaptchaImage(generateParam);
}
// 减1
if (poll == null) {
if (poll != null) {
AtomicInteger pos = posMap.get(generateParam);
if (pos != null) {
pos.decrementAndGet();