|
@@ -107,6 +107,8 @@ public class VerifyCodeServiceImpl implements VerifyCodeService {
|
|
|
}
|
|
|
|
|
|
if (!info.getVerifyCode().equals(cacheBean.getVerifyCode())) {
|
|
|
+ redisClient.delete(cacheKeyVerifyCode);
|
|
|
+ redisClient.delete(cacheKeyVerifyCodeResource);
|
|
|
throw new StatusException("400", "验证码输入不正确,请重试!");
|
|
|
}
|
|
|
|