mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-09-18 17:48:03 +08:00
重构代码:jwt模式login添加扩展信息
This commit is contained in:
@@ -73,6 +73,8 @@ public class TestJwtController {
|
||||
public AjaxJson test() {
|
||||
System.out.println();
|
||||
System.out.println("--------------进入请求--------------");
|
||||
System.out.println(StpUtil.getExtra("username"));
|
||||
System.out.println(StpUtil.getExtra("nick"));
|
||||
return AjaxJson.getSuccess();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user