开发工具是最新的开发版,基础库用最新的,为什么通过wx.login接口还是获取不到unionID?
开发工具是最新的开发版,基础库用最新的,为什么通过wx.login接口还是获取不到unionID?The development tool is the latest development version, and the basic library is the latest. Why can’t I get the unionID through the wx.login interface?
开发工具是最新的开发版,基础库用最新的,为什么通过wx.login接口还是获取不到unionID?开发工具是最新的开发版,基础库用最新的,为什么通过wx.login接口还是获取不到unionID?
The development tool is the latest development version, and the basic library is the latest. Why is it passed wx.login Interface or unable to get unionid?
回答:
绑定微信开放平台了?
wx.login 获取code,code 去服务器换取 unionid
https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/union-id.html
需要绑定一下才能获取哦