Sa-Token icon indicating copy to clipboard operation
Sa-Token copied to clipboard

TokenSession 设置LoginId 没有更新

Open ixycej12 opened this issue 1 year ago • 2 comments

使用版本:

1.39.0

希望结果:

我设置了id但是redis数据没有更新

复现步骤:

SaSession tokenSession = StpUtil.getTokenSession(); tokenSession.setLoginId(employee.getId());

ixycej12 avatar Dec 07 '24 12:12 ixycej12

这里的 loginId 不能重新 set

click33 avatar Feb 18 '25 09:02 click33

但是加自定义参数就可以保存

ixycej12 avatar Feb 23 '25 13:02 ixycej12