修改字典和token过期时间

This commit is contained in:
songjinsheng
2022-05-31 10:47:05 +08:00
parent bd12230d7e
commit a4976eff13
8 changed files with 58 additions and 34 deletions

View File

@ -35,6 +35,14 @@
<artifactId>druid-spring-boot-starter</artifactId>
</dependency>
<!-- &lt;!&ndash; 滑块验证码 &ndash;&gt;-->
<!-- <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>

View File

@ -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 唯一标识