Skip to content
New issue

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

登录失效,一段时间内(半小时左右)不操作,就会报“很抱歉,登录已过期,请重新登录”。 #1156

Closed
linekite opened this issue May 5, 2020 · 1 comment

Comments

@linekite
Copy link

linekite commented May 5, 2020

版本号:

2.1.4

问题描述:

登录失效,一段时间内(半小时左右)不操作,就会报“很抱歉,登录已过期,请重新登录”。
但是看代码,token设置的超时时间是7天。

截图&代码:

image

友情提示: 未按格式要求发帖,会直接删掉。

@zhangdaiscott
Copy link
Member

org.jeecg.common.system.util.JwtUtil
默认半小时
public static final long EXPIRE_TIME = 30 * 60 * 1000;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants