update 同步ruoyi

This commit is contained in:
疯狂的狮子li
2022-08-08 10:35:08 +08:00
11 changed files with 228 additions and 23 deletions

View File

@@ -91,7 +91,7 @@ public class ValidateCodeServiceImpl implements ValidateCodeService {
if (StringUtils.isEmpty(uuid)) {
throw new CaptchaExpireException();
}
String verifyKey = Constants.CAPTCHA_CODE_KEY + uuid;
String verifyKey = CacheConstants.CAPTCHA_CODE_KEY + uuid;
String captcha = RedisUtils.getCacheObject(verifyKey);
RedisUtils.deleteObject(verifyKey);