Urinx / WeixinBot

网页版微信API,包含终端版微信及微信机器人
Apache License 2.0
7.21k stars 1.98k forks source link

https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxnewloginpage 返回问题 #252

Open sixinyiyu opened 6 years ago

sixinyiyu commented 6 years ago

qq 20180312231157 qq 20180312231202

微信初始化时得到的结果是的;https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxinit?r=%d&pass_ticket=%s post方式,参数也是正确的,将此数据到postman中测试可以得到json

后来换成wx2.qq.com ,得到的ret是 1,其他字段都是空值

{ "BaseResponse": { "Ret": 1, "ErrMsg": "" } , "Count": 0, "ContactList": [], "SyncKey": { "Count": 0, "List": [] } , "User": { "Uin": 0, "UserName": "", "NickName": "", "HeadImgUrl": "", "RemarkName": "", "PYInitial": "", "PYQuanPin": "", "RemarkPYInitial": "", "RemarkPYQuanPin": "", "HideInputBarFlag": 0, "StarFriend": 0, "Sex": 0, "Signature": "", "AppAccountFlag": 0, "VerifyFlag": 0, "ContactFlag": 0, "WebWxPluginSwitch": 0, "HeadImgFlag": 0, "SnsFlag": 0 } , "ChatSet": "", "SKey": "", "ClientVersion": 0, "SystemTime": 0, "GrayScale": 0, "InviteStartCount": 0, "MPSubscribeMsgCount": 0, "MPSubscribeMsgList": [], "ClickReportInterval": 0 }

aaadaozhao008 commented 1 year ago

我也碰到了,楼主有解决吗

aaadaozhao008 commented 1 year ago

刚刚解决了,在java中,url这些请求,不要用单引号