-
Notifications
You must be signed in to change notification settings - Fork 314
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
android打包后,使用微信API,("wx.request()")调不到后台接口数据 #22
Comments
请求接口应该是没问题的,你可以用 chrome://inspect/#devices 调试看下有没有返回值。 |
在 2018年1月2日,下午5:12,Junjie Ding ***@***.***> 写道:
请求接口应该是没问题的,你可以用 chrome://inspect/#devices 调试看下有没有返回值。
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#22 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AYk2ZSNzqbS7fTEQWhYG8Zna_m56X9ujks5tGfLggaJpZM4RQYN9>.
嗯,找到问题了,应该是不支持 ‘wx.login()’的问题,但是如果我需要用到 wx.login 返回的 会话密钥(session_key),该怎么获取啊?
|
目前对wx.login接口的处理方式是自定义一个用于非微信环境使用的登录页面,你可以看一下hera网站文档的 其它-微信登录与跨域 这项,应该能帮上你,你可以加入我们群方便沟通 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
使用hera对小程序打包成android应用后,静态页面可以正常显示,但是调用后台接口出现错误,hera可以使用“wx.request()”来调用后台接口吗?
The text was updated successfully, but these errors were encountered: