还有这个老师
bd__cbs__pbhb6d({"errInfo":{ "no": "0" }, "data": { "rememberedUserName" : "[email protected]", "codeString" : "", "token" : "afe5ed3522ffa0761d3fe326e4a16651", "cookie" : "1", "usernametype":"2", "spLogin" : "rate", "disable":"", "loginrecord":{ 'email':[ ], 'phone':[ ] } }})
bd__cbs__pbhb6d({"errInfo":{ "no": "0" }, "data": { "rememberedUserName" : "[email protected]", "codeString" : "", "token" : "afe5ed3522ffa0761d3fe326e4a16651", "cookie" : "1", "usernametype":"2", "spLogin" : "rate", "disable":"", "loginrecord":{ 'email':[ ], 'phone':[ ] } }})
因为不是官方提供的API,没有说明文档。只能自己猜了。
error_no : "0",
param_in : {
param1_name : "username", //用户名
param1_value : "",
param2_name : "password", //口令
param2_value : "",
param3_name : "safeflg", //安全状态
param3_value : "",
param4_name : "verifycode",//验证码
param4_value : "",
param5_name : "mem_pass", //通行证
param5_value : ""
},
param_out :{
param1_name : "token", //令牌
param1_contex : "5ac175b37bc38173cc230b2f15528a48",
param2_name : "tpl",//第三方物流
param2_contex : "",
param3_name : "time",
param3_contex : "1399678071",
param4_name : "lang",
param4_contex : "",
param5_name : "city", //城市
param5_contex : "",
param6_name : "codestring", //码流
param6_contex : "",
param7_name : "bdShowVcode",
param7_contex : ""
},
jslink: 'https://passport.baidu.com/js/pass_api_login.js?v=20111116',
sourceUrl: "",
index:'',
more_param_in : {
param1_name : "u"
},
more_ext : {
ext1_name : "getpass",
ext1_url : "http://passport.baidu.com/?getpass_index",
ext2_name : "question",
ext2_url : "http://passport.baidu.com/?question"
} })