mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-09-13 13:01:39 +08:00
refactor: 适配 ContiNew Starter 认证模块-SaToken
This commit is contained in:
@@ -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>
|
||||
|
@@ -38,7 +38,7 @@ import com.wf.captcha.*;
|
||||
public class CaptchaProperties {
|
||||
|
||||
/**
|
||||
* 过期时间
|
||||
* 图形验证码过期时间
|
||||
*/
|
||||
@Value("${captcha.graphic.expirationInMinutes}")
|
||||
private long expirationInMinutes;
|
||||
|
Reference in New Issue
Block a user