|
@@ -49,11 +49,7 @@ public class CaptchaUtil {
|
|
|
* 校验 验证码
|
|
|
*/
|
|
|
public Boolean isCaptchaValid(String captcha, String captchaRedisKey) {
|
|
|
-
|
|
|
String captchaRedisValue = redisUtil.getCacheObject(captchaRedisKey);
|
|
|
- System.out.println("captchaRedisKey = " + captchaRedisKey);
|
|
|
- System.out.println("captcha = " + captcha);
|
|
|
- System.out.println("captchaRedisValue = " + captchaRedisValue);
|
|
|
if (captchaRedisValue == null || !captchaRedisValue.equalsIgnoreCase(captcha)) {
|
|
|
return false;
|
|
|
}
|