sa-token升级:1.37.0 -> 1.38.0
This commit is contained in:
parent
08cda7b792
commit
da91600948
2
pom.xml
2
pom.xml
@ -19,7 +19,7 @@
|
|||||||
<java.version>21</java.version>
|
<java.version>21</java.version>
|
||||||
<spring-boot.version>3.2.5</spring-boot.version>
|
<spring-boot.version>3.2.5</spring-boot.version>
|
||||||
<mybatis-flex.version>1.8.9</mybatis-flex.version>
|
<mybatis-flex.version>1.8.9</mybatis-flex.version>
|
||||||
<satoken.version>1.37.0</satoken.version>
|
<satoken.version>1.38.0</satoken.version>
|
||||||
<HikariCP.version>5.1.0</HikariCP.version>
|
<HikariCP.version>5.1.0</HikariCP.version>
|
||||||
<bitwalker.version>1.21</bitwalker.version>
|
<bitwalker.version>1.21</bitwalker.version>
|
||||||
<caffeine.version>3.1.8</caffeine.version>
|
<caffeine.version>3.1.8</caffeine.version>
|
||||||
|
@ -61,9 +61,7 @@ public class LoginHelper {
|
|||||||
.setExtra(DEPT_KEY, loginUser.getDeptId())
|
.setExtra(DEPT_KEY, loginUser.getDeptId())
|
||||||
.setExtra(DEPT_NAME_KEY, loginUser.getDeptName())
|
.setExtra(DEPT_NAME_KEY, loginUser.getDeptName())
|
||||||
);
|
);
|
||||||
SaSession tokenSession = StpUtil.getTokenSession();
|
StpUtil.getTokenSession().set(LOGIN_USER_KEY, loginUser);
|
||||||
tokenSession.updateTimeout(model.getTimeout());
|
|
||||||
tokenSession.set(LOGIN_USER_KEY, loginUser);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user