修改字典和token过期时间
This commit is contained in:
@ -35,6 +35,14 @@
|
||||
<artifactId>druid-spring-boot-starter</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- <!– 滑块验证码 –>-->
|
||||
<!-- <dependency>-->
|
||||
<!-- <groupId>com.github.anji-plus</groupId>-->
|
||||
<!-- <artifactId>captcha-spring-boot-starter</artifactId>-->
|
||||
<!-- <version>1.2.7</version>-->
|
||||
<!-- </dependency>-->
|
||||
|
||||
|
||||
<!-- 验证码 -->
|
||||
<dependency>
|
||||
<groupId>com.github.penggle</groupId>
|
||||
|
@ -27,7 +27,7 @@ import com.ruoyi.system.service.ISysUserService;
|
||||
|
||||
/**
|
||||
* 登录校验方法
|
||||
*
|
||||
*
|
||||
* @author ruoyi
|
||||
*/
|
||||
@Component
|
||||
@ -41,7 +41,7 @@ public class SysLoginService
|
||||
|
||||
@Autowired
|
||||
private RedisCache redisCache;
|
||||
|
||||
|
||||
@Autowired
|
||||
private ISysUserService userService;
|
||||
|
||||
@ -50,7 +50,7 @@ public class SysLoginService
|
||||
|
||||
/**
|
||||
* 登录验证
|
||||
*
|
||||
*
|
||||
* @param username 用户名
|
||||
* @param password 密码
|
||||
* @param code 验证码
|
||||
@ -95,7 +95,7 @@ public class SysLoginService
|
||||
|
||||
/**
|
||||
* 校验验证码
|
||||
*
|
||||
*
|
||||
* @param username 用户名
|
||||
* @param code 验证码
|
||||
* @param uuid 唯一标识
|
||||
|
Reference in New Issue
Block a user