Wechat Login Interface
发布于 7 个月前 作者 AravindIT 644 次浏览 最后一次编辑是 10 个月前 来自 问答

Hi People

Will the wechat mini program provides the current wechat mini program user’s openId by calling the wx.login interface if we pass current user code and the developer’s appId and appSecret?

https://developers.weixin.qq.com/miniprogram/dev/api/api-login.html#wxloginobject

Any help will be appreciated… Thanks!!!

1 回复

You can get the code via wx.login and then get openid by code. https://developers.weixin.qq.com/miniprogram/dev/api/wx.login.html

回到顶部