优化代码

pull/485/MERGE
RuoYi 2024-03-13 16:33:13 +08:00
parent f6ce55be47
commit 82a0eaed4a
4 changed files with 4 additions and 4 deletions

View File

@ -91,7 +91,7 @@
</div>
<div class="form-group">
<label class="font-noraml">分组</label>
<label class="font-noraml">分组</label>
<select class="form-control noselect2 selectpicker">
<optgroup label="--请选择开发语言--">
<option value="Java">Java</option>

View File

@ -70,7 +70,7 @@ public class ShiroConstants
/**
*
*/
public static final String LOGINRECORDCACHE = "loginRecordCache";
public static final String LOGIN_RECORD_CACHE = "loginRecordCache";
/**
*

View File

@ -41,7 +41,7 @@
<artifactId>kaptcha</artifactId>
<exclusions>
<exclusion>
<artifactId>javax.servlet-api</artifactId>
<artifactId>servlet-api</artifactId>
<groupId>javax.servlet</groupId>
</exclusion>
</exclusions>

View File

@ -36,7 +36,7 @@ public class SysPasswordService
@PostConstruct
public void init()
{
loginRecordCache = cacheManager.getCache(ShiroConstants.LOGINRECORDCACHE);
loginRecordCache = cacheManager.getCache(ShiroConstants.LOGIN_RECORD_CACHE);
}
public void validate(SysUser user, String password)