Wechat Login Interface
发布于 9 个月前 作者 AravindIT 708 次浏览 最后一次编辑是 1 年前 来自 问答

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?


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