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

登录接口报错 #16

Open
littertwo opened this issue May 12, 2023 · 4 comments
Open

登录接口报错 #16

littertwo opened this issue May 12, 2023 · 4 comments

Comments

@littertwo
Copy link

littertwo commented May 12, 2023

登录接口报错
{"code":500,"msg":"TypeError: Cannot read property 'salt' of null"}

@87789771
Copy link
Owner

这是哪个接口? 传值有问题吧? 你也可以自己排查一下。

@littertwo
Copy link
Author

/login接口,没有修改任何代码,上一秒还好好的,token过期重新登陆的时候就报了这个错

@87789771
Copy link
Owner

image
就排查来看,登录这里逻辑是没没有问题的。 如果没有查询到该用户 ,是走不到 null.salt 环节的。 具体情况你那边还是要自己排查一下。我看不出来。

@littertwo
Copy link
Author

好的,谢谢,发现在新增菜单的时候同样会遇到这个问题,我自己看一下

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