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获取用户信息 #44

Closed
UvDreamed opened this issue Mar 11, 2019 · 1 comment
Closed

根据token获取用户信息 #44

UvDreamed opened this issue Mar 11, 2019 · 1 comment

Comments

@UvDreamed
Copy link

有些接口需要获取用户信息,不知道这个根据jwt怎么实现,有人提议,在加密生辰token之前查出用户信息将id缓存,不知道该如何实现

@canghai908
Copy link
Contributor

jwt结构里添加对应字段即可实现

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