求助,微信第三方平台获取用户的基本信息,返回的却是字符串?
发布于 4 年前 作者 lhao 11328 次浏览 来自 问答

求助,我的访问接口信息:https://api.weixin.qq.com/cgi-bin/user/info?access_token=access_token&openid=openid&lang=zh_CN

返回的结果是:eyJzdWJzY3JpYmUiOjEsIm9wZW5pZCI6Im9kd1JQdjJWbk9oZDB3ekRhSVFkcXdZWG9BU3ciLCJuaWNrbmFtZSI6Iui9u+mjji3lpLHor60iLCJzZXgiOjEsImxhbmd1YWdlIjoiemhfQ04iLCJjaXR5Ijoi56aP5beeIiwicHJvdmluY2UiOiLnpo/lu7oiLCJjb3VudHJ5Ijoi5Lit5Zu9IiwiaGVhZGltZ3VybCI6Imh0dHA6XC9cL3RoaXJkd3gucWxvZ28uY25cL21tb3BlblwvZVJuNklOWmJBcDBhN3U3dHQzZGdQMXNtTEQ1STRYSWljNHFBbjZmVG9rcHAyRlB1bUFSVmZ5M2ROV1pEa2RraWNLaWJnRWVES2tpYzVkbTlTejA4bXk0VDhXRWliUEtTTllpY2JIXC8xMzIiLCJzdWJzY3JpYmVfdGltZSI6MTU5OTIwMjQ0OSwidW5pb25pZCI6Im90SmVmc3dNRG1DNVBmbjVZRkgtZTNLbldyUTQiLCJyZW1hcmsiOiIiLCJncm91cGlkIjowLCJ0YWdpZF9saXN0IjpbXSwic3Vic2NyaWJlX3NjZW5lIjoiQUREX1NDRU5FX1NFQVJDSCIsInFyX3NjZW5lIjowLCJxcl9zY2VuZV9zdHIiOiIifQ==

我也用了访问接口:https://api.weixin.qq.com/sns/userinfo?access_token=%s&openid=%s&lang=%s

返回的结果还是一堆密文,和微信公众号开发文档说的不一样啊,求助

回到顶部