密码变量命名风格统一

Signed-off-by: taest <876239615@qq.com>
pull/233/head
taest 2 years ago committed by Gitee
parent 858f576fa3
commit a8daa1f044
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

@ -21,9 +21,9 @@ public class SysPasswordService
@Autowired @Autowired
private RedisService redisService; private RedisService redisService;
private int maxRetryCount = CacheConstants.passwordMaxRetryCount; private int maxRetryCount = CacheConstants.PASSWORD_MAX_RETRY_COUNT;
private Long lockTime = CacheConstants.passwordLockTime; private Long lockTime = CacheConstants.PASSWORD_LOCK_TIME;
@Autowired @Autowired
private SysRecordLogService recordLogService; private SysRecordLogService recordLogService;

@ -20,12 +20,12 @@ public class CacheConstants
/** /**
* *
*/ */
public final static int passwordMaxRetryCount = 5; public final static int PASSWORD_MAX_RETRY_COUNT = 5;
/** /**
* 10 * 10
*/ */
public final static long passwordLockTime = 10; public final static long PASSWORD_LOCK_TIME = 10;
/** /**
* *

Loading…
Cancel
Save