chore: 优化登录 Helper

This commit is contained in:
2024-06-03 21:49:18 +08:00
parent 5b3d4f5778
commit afbd619d09

View File

@@ -93,7 +93,7 @@ public class LoginHelper {
* @return 登录用户信息 * @return 登录用户信息
*/ */
public static LoginUser getLoginUser(String token) { public static LoginUser getLoginUser(String token) {
SaSession tokenSession = StpUtil.getTokenSessionByToken(token); SaSession tokenSession = StpUtil.getStpLogic().getTokenSessionByToken(token, false);
if (null == tokenSession) { if (null == tokenSession) {
return null; return null;
} }