1 回复
parry
parry1 楼7 年前

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