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吗?这个token是后端登录之后返回给我的吗?求回复,谢谢
The text was updated successfully, but these errors were encountered:
是的,访问接口需要系统生成的 Token。可以用微信那边的token去交换我们系统的Token。微信端授权成功后,后端应该能获取到用户的 openid,然后我们可以生成一个临时授权码,可以存 redis,key 临时授权码,value 是 openid。通过临时授权码去我们系统获取 token
Sorry, something went wrong.
No branches or pull requests
我这里写了一个微信小程序 我这个微信小程序会去访问我自己写的后端接口 我小程序端这里是调用后端接口的时候需要传入token吗?这个token是后端登录之后返回给我的吗?求回复,谢谢
The text was updated successfully, but these errors were encountered: