添加 StpUtil.getLoginInfo() 和 StpUtil.getLoginInfo(Object loginId) 来获取登录信息 #647
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
我在进行业务开发的时候 想传入 Android-Readmi K50 来进行多设备管理区分 让前端可以做到类似
查看->已经登录的设备列表->踢某台手机下线
但我发现satoken并有提供类似能获得所有登录信息并返回为List的函数 saSession.getTokenSignList() 但不太符合我的预期
我做出变更具体变更如下
StpUtil
StpLogic
add new class SaLoginInfo
仅做出了微小的贡献 如遇冲突,测试失败,不符合项目规划请拒绝此pr