小程序关联微信公众号如何确定用户的唯一性?

千锋教育

使用wx.getUserInfo方法withCredentials为 true时 可获取encryptedData,里面有union_id。后端需要进行对称解密。