參考:https://developers.weixin.qq.com/miniprogram/dev/component/open-data.html
非常簡單就一個標籤的事:
<open-data type="userAvatarUrl" />//用戶頭像
<open-data type="userNickName" />//用戶頭像
<open-data type="userGender" />//用戶性別
<open-data type="userCity" />//用戶所在城市
<open-data type="userProvince" />//用戶所在省份
<open-data type="userCountry" />//用戶所在國家
<open-data type="userLanguage" />//用戶的語言