收藏
回答

wx.getUserInfo()接口数据返回问题

  1. {errMsg: "getUserInfo:ok", rawData: "{"nickName":"微信用户","gender":0,"language":"","city"…GKSyXwibcPq4BWmiaIGuG1icwxaQX6grC9VemZoJ8rg/132"}", userInfo: {…}, signature: "82e3d8d4821a2374e467f624588b903c7cdfae36", encryptedData: "mWo5DltGL1VFg0CflgaQJuOwaW4En9DZXQIwE/a5xMMqoE5WZU…kBUDcFZnys1fuzz5ukHyKCQKG1EmBCx89kZ7jVeMkwfnzxQ==", …}
  2. encryptedData"mWo5DltGL1VFg0CflgaQJuOwaW4En9DZXQIwE/a5xMMqoE5WZUolMhUjBeHCyG3g1IuSMiLKCdp2VHCbzbrWxC1DjC6ZvTFh5uDIV8dmz0CpMn/iSrbJIX0I20UO8URHBiOK8GcVq/cqaWkT2f8OIx5F213SCfq03msap7+jeJIEMVVLfTkEKF2Wy2l4+vYZffYNXRnSVmhYPsCZnFxCLe817wyW+X8Dsw02Z5YRowAOzY2/kQ65z5We8WW3Nz1tuVV6NFee5Dzp0jvKmHtZPePG09sT9j2mZF7Z215VMKV1pan3lBYaTYuffmc3onDxu/ZdKTZ7djixa6FiZdJVcyaXERnW7FB7X87ubeRPiqgggjgpN1TSTgs8zeRYi13d8jpgHrfpJ4ZxJUVdxIK6Sf57oSoszLZBjz9oF77VhUxF9T8SlAPlDuiRRby/posKqbRcfAWmKLT+DuzB57tiCfwNBPQvEVpXr4kyOxgkBUDcFZnys1fuzz5ukHyKCQKG1EmBCx89kZ7jVeMkwfnzxQ=="
  3. errMsg"getUserInfo:ok"
  4. iv"rmWbBMdNp0cRolR7BXoV1w=="
  5. rawData"{"nickName":"微信用户","gender":0,"language":"","city":"","province":"","country":"","avatarUrl":"https://thirdwx.qlogo.cn/mmopen/vi_32/POgEwh4mIHO4nibH0KlMECNjjGxQUq24ZEaGT4poC6icRiccVGKSyXwibcPq4BWmiaIGuG1icwxaQX6grC9VemZoJ8rg/132"}"
  6. signature"82e3d8d4821a2374e467f624588b903c7cdfae36"
  7. userInfo: {nickName"微信用户"gender0language""city""province"", …}
  8. __proto__: Object

使用wx.getUserInfo()静默获取用户数据返回的用户信息nickname和其他用户数据都有错,使用wx.getUserProfile接口目前无响应

最后一次编辑于  2021-04-08
回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容
问题标签