|
|
|
@ -60,7 +60,7 @@ public class LoginController {
|
|
|
|
|
|
|
|
|
|
// 判断图形验证码
|
|
|
|
|
String redisCaptchaCode = redisCache.getCacheObject(registryObj.getCaptchaKey());
|
|
|
|
|
if (registryObj.getCaptchaCode() == null || !redisCaptchaCode.equals(registryObj.getCaptchaCode().trim().toLowerCase())) {
|
|
|
|
|
if (registryObj.getCaptchaCode() == null || !StringUtils.equalsIgnoreCase(redisCaptchaCode, registryObj.getCaptchaCode().trim())) {
|
|
|
|
|
return R.error(USER_CAPTCHA_CODE_ERROR);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|