修正方法名单词拼写错误

This commit is contained in:
稚屿 2021-07-20 00:54:50 +00:00 committed by Gitee
parent b616a2f2e7
commit c24fc4282c
1 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ public class SysLoginService
// 验证码开关 // 验证码开关
if (captchaOnOff) if (captchaOnOff)
{ {
validateCapcha(username, code, uuid); validateCaptcha(username, code, uuid);
} }
// 用户验证 // 用户验证
Authentication authentication = null; Authentication authentication = null;
@ -100,7 +100,7 @@ public class SysLoginService
* @param uuid 唯一标识 * @param uuid 唯一标识
* @return 结果 * @return 结果
*/ */
public void validateCapcha(String username, String code, String uuid) public void validateCaptcha(String username, String code, String uuid)
{ {
String verifyKey = Constants.CAPTCHA_CODE_KEY + uuid; String verifyKey = Constants.CAPTCHA_CODE_KEY + uuid;
String captcha = redisCache.getCacheObject(verifyKey); String captcha = redisCache.getCacheObject(verifyKey);