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

大神,能不能加上权限啊 #63

Open
Wenson-Xiang opened this issue Dec 16, 2017 · 2 comments
Open

大神,能不能加上权限啊 #63

Wenson-Xiang opened this issue Dec 16, 2017 · 2 comments

Comments

@Wenson-Xiang
Copy link

No description provided.

@jiangxy
Copy link
Owner

jiangxy commented Dec 28, 2017

抱歉啊,最近实在很忙,遥遥无期。。。

@sunft1996
Copy link

提供一个思路,可以把权限相关的api存在数据库,用户登录时候存到session中,以后每次用户登录时候进行请求拦截,将当前请求api和session中的api对比,不一致就返回无权限。

具体的可以参考一下这个后台项目

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

3 participants