Skip to content

Commit

Permalink
chore: 优化登录 Helper
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles7c committed Jun 3, 2024
1 parent 5b3d4f5 commit afbd619
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public static LoginUser getLoginUser() throws NotLoginException {
* @return 登录用户信息
*/
public static LoginUser getLoginUser(String token) {
SaSession tokenSession = StpUtil.getTokenSessionByToken(token);
SaSession tokenSession = StpUtil.getStpLogic().getTokenSessionByToken(token, false);
if (null == tokenSession) {
return null;
}
Expand Down

0 comments on commit afbd619

Please sign in to comment.