问题:通过下面接口拉取会员信息时,返回的字段出现了重复,USER_FORM_INFO_FLAG_SEX、USER_FORM_INFO_FLAG_BIRTHDAY、USER_FORM_INFO_FLAG_NAME都重复返回了,麻烦看下
APPID:wx5e70a19ea1f7f023
请求API
https://api.weixin.qq.com/card/membercard/userinfo/get?access_token=
请求body
{
"card_id": "pp0Byweeu7bWCOSjIJ2Yl27-s1zI",
"code": "436880485604"
}
返回结果
{
"errcode": 0,
"errmsg": "ok",
"openid": "op0Bywe-fUWBXBhRUzFWDrtRSgGQ",
"nickname": "pc",
"membership_number": "436880485604",
"bonus": 0,
"sex": "MALE",
"user_info": {
"common_field_list": [
{
"name": "USER_FORM_INFO_FLAG_SEX",
"value": "男",
"value_list": []
},
{
"name": "USER_FORM_INFO_FLAG_BIRTHDAY",
"value": "2019-04-18",
"value_list": []
},
{
"name": "USER_FORM_INFO_FLAG_NAME",
"value": "李鹏程",
"value_list": []
},
{
"name": "USER_FORM_INFO_FLAG_SEX",
"value": "男",
"value_list": []
},
{
"name": "USER_FORM_INFO_FLAG_BIRTHDAY",
"value": "2019-04-18",
"value_list": []
},
{
"name": "USER_FORM_INFO_FLAG_NAME",
"value": "李鹏程",
"value_list": []
}
],
"custom_field_list": []
},
"user_card_status": "NORMAL",
"has_active": true
}
你好,建议重新再请求一次。看看是否还会出现类似情况。然后提供一下相关信息。谢谢。