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

一个项目中,前后台,两个表需要进行登录逻辑 #14

Open
woann opened this issue Aug 21, 2023 · 1 comment
Open

一个项目中,前后台,两个表需要进行登录逻辑 #14

woann opened this issue Aug 21, 2023 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@woann
Copy link

woann commented Aug 21, 2023

如何避免前后台的token混淆,比如我前台登录一个id=1的用户获取到了token,结果这个token拿到后台的接口也能用。。

@Tinywan
Copy link
Owner

Tinywan commented Aug 22, 2023

保证id唯一就行了

@Tinywan Tinywan added the help wanted Extra attention is needed label Sep 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants