We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.37.0
token session
我经过以下步骤测试: SaLoginModel model = new SaLoginModel(); model.setTimeout(604800).setActiveTimeout(604800); StpUtil.login(loginUser.getLoginId(), model.setExtra(USER_KEY, loginUser.getUserId())); 执行后看redis,发现token session的缓存永远是2592000,即框架自带的默认值。
得出以下结果:
跟其他回答中,说到的以最大的那个过期时间相同不符,如何处理这个问题。 目前没找到setSessionTimeout方法
The text was updated successfully, but these errors were encountered:
目前在yml里面写死timeout数字解决问题,暂时解决不了app/pc端两种过期策略情况下的token session过期时间问题
Sorry, something went wrong.
1.38 版本将修复此问题,下周发布,敬请期待
No branches or pull requests
使用版本:
1.37.0
涉及的功能模块:
token session
测试步骤:
我经过以下步骤测试:
SaLoginModel model = new SaLoginModel();
model.setTimeout(604800).setActiveTimeout(604800);
StpUtil.login(loginUser.getLoginId(), model.setExtra(USER_KEY, loginUser.getUserId()));
执行后看redis,发现token session的缓存永远是2592000,即框架自带的默认值。
得出以下结果:
跟其他回答中,说到的以最大的那个过期时间相同不符,如何处理这个问题。
目前没找到setSessionTimeout方法
The text was updated successfully, but these errors were encountered: