update satoken 1.26.0 => 1.27.0
This commit is contained in:
parent
e2de22bdce
commit
91c4253f06
2
pom.xml
2
pom.xml
@ -25,7 +25,7 @@
|
|||||||
<poi.version>4.1.2</poi.version>
|
<poi.version>4.1.2</poi.version>
|
||||||
<easyexcel.version>2.2.11</easyexcel.version>
|
<easyexcel.version>2.2.11</easyexcel.version>
|
||||||
<velocity.version>1.7</velocity.version>
|
<velocity.version>1.7</velocity.version>
|
||||||
<satoken.version>1.26.0</satoken.version>
|
<satoken.version>1.27.0</satoken.version>
|
||||||
<mybatis-plus.version>3.4.3.4</mybatis-plus.version>
|
<mybatis-plus.version>3.4.3.4</mybatis-plus.version>
|
||||||
<p6spy.version>3.9.1</p6spy.version>
|
<p6spy.version>3.9.1</p6spy.version>
|
||||||
<hutool.version>5.7.13</hutool.version>
|
<hutool.version>5.7.13</hutool.version>
|
||||||
|
@ -60,7 +60,7 @@ public class MySaTokenListener implements SaTokenListener {
|
|||||||
* 每次被踢下线时触发
|
* 每次被踢下线时触发
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public void doLogoutByLoginId(String loginType, Object loginId, String tokenValue, String device) {
|
public void doKickout(String loginType, Object loginId, String tokenValue) {
|
||||||
RedisUtils.deleteObject(Constants.ONLINE_TOKEN_KEY + tokenValue);
|
RedisUtils.deleteObject(Constants.ONLINE_TOKEN_KEY + tokenValue);
|
||||||
log.info("user doLogoutByLoginId, useId:{}, token:{}", loginId, tokenValue);
|
log.info("user doLogoutByLoginId, useId:{}, token:{}", loginId, tokenValue);
|
||||||
}
|
}
|
||||||
@ -69,7 +69,7 @@ public class MySaTokenListener implements SaTokenListener {
|
|||||||
* 每次被顶下线时触发
|
* 每次被顶下线时触发
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public void doReplaced(String loginType, Object loginId, String tokenValue, String device) {
|
public void doReplaced(String loginType, Object loginId, String tokenValue) {
|
||||||
RedisUtils.deleteObject(Constants.ONLINE_TOKEN_KEY + tokenValue);
|
RedisUtils.deleteObject(Constants.ONLINE_TOKEN_KEY + tokenValue);
|
||||||
log.info("user doReplaced, useId:{}, token:{}", loginId, tokenValue);
|
log.info("user doReplaced, useId:{}, token:{}", loginId, tokenValue);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user