|
20精币
同样请求会有两种返回
第一种返回
{"isSignup":false,"unixxxx":"xxxxxx","xxxx":"xxxxxxx","xxxxxx":"xxxxxxxxxxxxxxxxxxx","xxxxxxxxxxx":"AwQAAABJAgAAAAEAAAAyAAAAPLgC95WH3MyqngAoyM/hf1hEoKrGdo0pJ5DI44e1wGF9AT3PH7Wes03actC2n/GVnwfURonD78PewMUppAAAADirr7TPi/IUnMIPFqLQbd9R8+lFA66AOcl+Q/89aOrbTKKpurPP+cJYIUtGmBmDs0CQTmwiiFDFMQ\u003d\u003d","xxxxxx":28666177,"xxxx":"xxxxxxxxxxxxxxxxxxx"}}
第二种返回
{
"trace_id": "-2362204031423544141",
"error": {
"code": 101157,
"type": "user_login_need_verify",
"message": "xxxxxxxxxxxxx",
"data": {
"jumpUrl": "xxxxxxxxxxxxxx",
"userxxxx": "xvOhfCiAcJfZPkaHAdPzYUarQSCeLsNzBQtvprru",
"succCallbackUrl": "xxxxxxxxxxxxxxxxxxxxxxxxxx",
"param": "xxxxxxxxxxxxxxxxxxxxxxxxxxx",
"reqxxxxxxxxx": "3e6e1a28104c4e76945087a0f35caa21",
"unionId": "xxxxxxxxxxxxxxxxxxxxxxxxxxx",
"xxxxxxxxxxxxx": "xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"xxxxxxxx": "xxxxxxxxxxxxxxx",
"xxxxxxxxxxxx": "AwQAAABJAgAAAAEAAAAyAAAAPLgC95WH3MyqngAoyM/hf1hEoKrGdo0pJ5DI44e1wGF9AT3PH7Wes03actC2n/GVnwfURonD78PewMUppAAAADhDgYUUwbaOh+/zUg8lRQmIr3lL+5rSzsjBhhrRT3mi8ZuX4parJNexBVePnB9YBAZ7o13JR7ZIxA\u003d\u003d"
}
}
}
结果 = 网页_访问_对象 (局_url, 局_方式, 局_data, , , 局_协议头, , , , , , , , , , , , , )
返回 = 到文本 (编码_编码转换对象 (局_结果, , , ))
用这个可以请求出第一种返回,第二种返回就显示空
返回值 = 编码_URL解码 (到文本 (网页_GZIP解压 (网页_访问_对象 (局_url, 局_方式, 局_data, , , 协议头, , , , , , , , , , , , , ))), 真)
用这个可以请求出第二种返回,第一种返回就显示空
这个怎么解决
|
最佳答案
查看完整内容
协议头 删掉
Accept-Encoding:gzip, deflate, br
|