We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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, 再在前端ws连接服务器,发送了token,可是后端服务器日志,提示expectToken 为空
The text was updated successfully, but these errors were encountered:
device_flag不一致导致的,jssdk默认device_flag为1,看日志你通过接口调用传的device_flag为0,所以导致token错误。
解决方案:
调用 /user/token接口的时候device_flag传1
Sorry, something went wrong.
收到 谢谢
No branches or pull requests
我向服务器注册了一个用户,带token, 再在前端ws连接服务器,发送了token,可是后端服务器日志,提示expectToken 为空
The text was updated successfully, but these errors were encountered: