根据youzan.scrm.customer.list查询的列表,然后根据该列表的mobile调用youzan.users.info.query查询该用户的详情,请问1.怎么获取该用户的微信openId和unionId?
2.为什么使用youzan.users.info.query查询用户信息大部分都没有微信openId和unionId?
以下是没有微信openId和unionId的用户详情返回的数据
{
"trace_id": "yz7-0a34f819-1656642800372-158909",
"code": 200,
"data": {
"latest_info": {
"nick_name": "XᴠᴇᴍɪW₉.",
"avatar": "https://thirdwx.qlogo.cn/mmopen/vi_32/z6rDjnzoRvVdxaicE5WvEIhl9c1uS0FovtAkp4XTjovichKTyvwpeUyJg1S8yibiaOFibCPFl12GMicX35k8zl4C8TDQ/132"
},
"user_list": [
{
"wechat_info": {
"follow_time": -28800,
"unfollow_time": -28800,
"is_fans": 2,
"last_talk_time": 0,
"wechat_type": 1
},
"primitive_info": {
"country": "",
"updated_time": "2022-05-11 10:15:44",
"created_time": "2022-05-11 10:15:44",
"province": "",
"platform_type": 9,
"gender": 0,
"city": "",
"nick_name": "XᴠᴇᴍɪW₉.",
"yz_open_id": "SNx8skTU897603781577932800",
"avatar": "https://thirdwx.qlogo.cn/mmopen/vi_32/z6rDjnzoRvVdxaicE5WvEIhl9c1uS0FovtAkp4XTjovichKTyvwpeUyJg1S8yibiaOFibCPFl12GMicX35k8zl4C8TDQ/132"
},
"platform_info": {
"weixin_open_id": "oHIuujlLQQbTOU9zrPxm86QmlPrA"
}
},
{
"primitive_info": {
"country": "",
"updated_time": "2021-10-12 21:56:58",
"created_time": "2021-10-12 21:56:58",
"province": "",
"platform_type": 0,
"gender": 0,
"city": "",
"nick_name": "XᴠᴇᴍɪW₉.",
"yz_open_id": "SNx8skTU897603781577932800",
"avatar": "https://thirdwx.qlogo.cn/mmopen/vi_32/z6rDjnzoRvVdxaicE5WvEIhl9c1uS0FovtAkp4XTjovichKTyvwpeUyJg1S8yibiaOFibCPFl12GMicX35k8zl4C8TDQ/132"
},
"mobile_info": {
"mobile": "15244368839"
}
}
]
},
"success": true,
"message": "successful"
}
|
|
用手机打开
收藏
赞 0
···
回复
|
|
|
|