用户关注公众号记录用户基本信息;通过openId获取用户基本信息
调用接口地址:https://api.weixin.qq.com/cgi-bin/user/info
返回数据:
{"city":"","country":"","errcode":0,"errmsg":"请求成功","groupid":0,
"headimgurl":"http://thirdwx.qlogo.cn/mmopen/PiajxSqBRaELaWdNxLgM0IBSt55Q1a855Qoc1tcmW6yPo8mBm9Jc8lVnRpMoypjTuRWJP9icZjbMHC2jkLGbCvIw/132",
"language":"zh_CN","nickname":"测试","openid":"o-7KI6ARn8XeDDvEhDC3RloMefOY","province":"","remark":"","sex":0,"subscribe":1,
"subscribeTime":1638021657,"success":true,"tagidList":[]}
返回的数据不是用户的真实性别,用户的城市信息也是有设置的接口获取不到;
公众号的appid=wxed6011c019bdb58c
是什么原因啊,请回答
接口已经调整了
https://developers.weixin.qq.com/community/develop/doc/00028edbe3c58081e7cc834705b801?blockType=1