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

token怎么实现单一会话呢,就是同一个账号只能一个人登录 #29

Open
zougn opened this issue Oct 9, 2022 · 1 comment

Comments

@zougn
Copy link

zougn commented Oct 9, 2022

No description provided.

@zougn
Copy link
Author

zougn commented Jul 19, 2023

缓存只存一个用户,每次登陆时取出来判空,非空就存进去,登陆成功,还能兼具过期时间

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

1 participant