-
Notifications
You must be signed in to change notification settings - Fork 441
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
大神,能不能加上权限啊 #63
Comments
抱歉啊,最近实在很忙,遥遥无期。。。 |
提供一个思路,可以把权限相关的api存在数据库,用户登录时候存到session中,以后每次用户登录时候进行请求拦截,将当前请求api和session中的api对比,不一致就返回无权限。 具体的可以参考一下这个后台项目。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: