mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-10-21 02:57:23 +08:00
重构
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
``` java
|
||||
// 标记当前会话登录的账号id
|
||||
// 建议的参数类型:long | int | String, 不可以传入复杂类型,如:User、Admin等等
|
||||
StpUtil.login(Object loginId);
|
||||
StpUtil.login(Object id);
|
||||
|
||||
// 当前会话注销登录
|
||||
StpUtil.logout();
|
||||
|
Reference in New Issue
Block a user