优化代码
parent
f6ce55be47
commit
82a0eaed4a
|
@ -91,7 +91,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="font-noraml">分组多选</label>
|
<label class="font-noraml">分组单选</label>
|
||||||
<select class="form-control noselect2 selectpicker">
|
<select class="form-control noselect2 selectpicker">
|
||||||
<optgroup label="--请选择开发语言--">
|
<optgroup label="--请选择开发语言--">
|
||||||
<option value="Java">Java</option>
|
<option value="Java">Java</option>
|
||||||
|
|
|
@ -70,7 +70,7 @@ public class ShiroConstants
|
||||||
/**
|
/**
|
||||||
* 登录记录缓存
|
* 登录记录缓存
|
||||||
*/
|
*/
|
||||||
public static final String LOGINRECORDCACHE = "loginRecordCache";
|
public static final String LOGIN_RECORD_CACHE = "loginRecordCache";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 系统活跃用户缓存
|
* 系统活跃用户缓存
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
<artifactId>kaptcha</artifactId>
|
<artifactId>kaptcha</artifactId>
|
||||||
<exclusions>
|
<exclusions>
|
||||||
<exclusion>
|
<exclusion>
|
||||||
<artifactId>javax.servlet-api</artifactId>
|
<artifactId>servlet-api</artifactId>
|
||||||
<groupId>javax.servlet</groupId>
|
<groupId>javax.servlet</groupId>
|
||||||
</exclusion>
|
</exclusion>
|
||||||
</exclusions>
|
</exclusions>
|
||||||
|
|
|
@ -36,7 +36,7 @@ public class SysPasswordService
|
||||||
@PostConstruct
|
@PostConstruct
|
||||||
public void init()
|
public void init()
|
||||||
{
|
{
|
||||||
loginRecordCache = cacheManager.getCache(ShiroConstants.LOGINRECORDCACHE);
|
loginRecordCache = cacheManager.getCache(ShiroConstants.LOGIN_RECORD_CACHE);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void validate(SysUser user, String password)
|
public void validate(SysUser user, String password)
|
||||||
|
|
Loading…
Reference in New Issue