Wechat Login Interface
发布于 1 年前 作者 AravindIT 816 次浏览 来自 问答

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