若依
2022-08-22 2af8e817bd20d27b9814626e4e3c3d90f2898c23
!233 密码变量命名风格统一
Merge pull request !233 from taest/N/A
2 files modified
8 ■■■■ changed files
ruoyi-auth/src/main/java/com/ruoyi/auth/service/SysPasswordService.java 4 ●●●● patch | view | raw | blame | history
ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/CacheConstants.java 4 ●●●● patch | view | raw | blame | history
ruoyi-auth/src/main/java/com/ruoyi/auth/service/SysPasswordService.java
@@ -21,9 +21,9 @@
    @Autowired
    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
    private SysRecordLogService recordLogService;
ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/CacheConstants.java
@@ -20,12 +20,12 @@
    /**
     * 密码最大错误次数
     */
    public final static int passwordMaxRetryCount = 5;
    public final static int PASSWORD_MAX_RETRY_COUNT = 5;
    /**
     * 密码锁定时间,默认10(分钟)
     */
    public final static long passwordLockTime = 10;
    public final static long PASSWORD_LOCK_TIME = 10;
    /**
     * 权限缓存前缀