wx.getUserInfo获取用户头像和昵称时会有缓存,如果微信头像和昵称改变,wx.getUserInfo获取用户头像和昵称会有两个小时的缓存
<open-data type="userAvatarUrl"></open-data>
<open-data type="userNickName"></open-data>
注:参考文档
https://developers.weixin.qq.com/community/develop/doc/0008ec49d849681c05866d9a957008?highLine=wx.getUserInfo%25E8%258E%25B7%25E5%258F%2596%25E7%259A%2584%25E7%2594%25A8%25E6%2588%25B7%25E4%25BF%25A1%25E6%2581%25AF%25E4%25BC%259A%25E6%259B%25B4%25E6%2596%25B0%25E5%2590%2597