mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-09-22 12:09:21 +08:00
⚡ 完善v1.7.0文档
This commit is contained in:
@@ -112,6 +112,8 @@ public class TestController {
|
||||
public AjaxJson atCheck() {
|
||||
System.out.println("======================= 进入方法,测试注解鉴权接口 ========================= ");
|
||||
System.out.println("只有通过注解鉴权,才能进入此方法");
|
||||
StpUtil.checkActivityTimeout();
|
||||
StpUtil.updateLastActivityToNow();
|
||||
return AjaxJson.getSuccess();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user