mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-06-28 13:34:18 +08:00
优化文档
This commit is contained in:
parent
c6c0c69732
commit
b7eb24f07e
@ -154,6 +154,9 @@ StpUtil.login(10001, SaLoginConfig
|
|||||||
|
|
||||||
// 获取扩展参数
|
// 获取扩展参数
|
||||||
String name = StpUtil.getExtra("name");
|
String name = StpUtil.getExtra("name");
|
||||||
|
|
||||||
|
// 获取任意 Token 的扩展参数
|
||||||
|
String name = StpUtil.getExtra("tokenValue", "name");
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
@ -173,5 +176,3 @@ public void setUserStpLogic() {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user