refactor: 适配 ContiNew Starter 认证模块-SaToken

This commit is contained in:
2023-11-25 17:01:47 +08:00
parent 8a11a020e0
commit 86ca8f094f
8 changed files with 55 additions and 188 deletions

View File

@@ -17,6 +17,12 @@
<description>公共模块(存放公共工具类,公共配置等)</description>
<dependencies>
<!-- ContiNew Starter 认证模块 - SaToken -->
<dependency>
<groupId>top.charles7c.continew</groupId>
<artifactId>continew-starter-auth-satoken</artifactId>
</dependency>
<!-- ContiNew Starter 数据访问模块 - MyBatis Plus -->
<dependency>
<groupId>top.charles7c.continew</groupId>
@@ -65,19 +71,6 @@
<artifactId>spring-boot-starter-validation</artifactId>
</dependency>
<!-- ################ Sa-Token 相关 ################ -->
<!-- Sa-Token轻量级 Java 权限认证框架,让鉴权变得简单、优雅) -->
<dependency>
<groupId>cn.dev33</groupId>
<artifactId>sa-token-spring-boot3-starter</artifactId>
</dependency>
<!-- Sa-Token 整合 JWT -->
<dependency>
<groupId>cn.dev33</groupId>
<artifactId>sa-token-jwt</artifactId>
</dependency>
<!-- MySQL Java 驱动 -->
<dependency>
<groupId>com.mysql</groupId>

View File

@@ -38,7 +38,7 @@ import com.wf.captcha.*;
public class CaptchaProperties {
/**
* 过期时间
* 图形验证码过期时间
*/
@Value("${captcha.graphic.expirationInMinutes}")
private long expirationInMinutes;