opts: 验证码有效期修改为2分钟.

feihu wang
This commit is contained in:
feihu.wang
2021-03-23 15:53:31 +08:00
parent d973738fc0
commit b025a765c5

View File

@@ -147,7 +147,7 @@ public class CacheServiceImpl implements CacheService {
@Override
public void cacheCaptcha(String captcha) {
redisService.setex(LOGIN_CAPTCHA_PREFIX + captcha, captcha, 60);
redisService.setex(LOGIN_CAPTCHA_PREFIX + captcha, captcha, 60 * 2);
}
@Override