mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-09-10 08:57:14 +08:00
chore: 优化登录 Helper
This commit is contained in:
@@ -93,7 +93,7 @@ public class LoginHelper {
|
||||
* @return 登录用户信息
|
||||
*/
|
||||
public static LoginUser getLoginUser(String token) {
|
||||
SaSession tokenSession = StpUtil.getTokenSessionByToken(token);
|
||||
SaSession tokenSession = StpUtil.getStpLogic().getTokenSessionByToken(token, false);
|
||||
if (null == tokenSession) {
|
||||
return null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user