见见这些返回的数据代表什么
程序员文章站
2022-05-21 17:56:13
...
看看这些返回的数据代表什么
老师好 这是我打开https://passport.baidu.com/v2/api/?login时出的问题 做模拟登录使用 求老师翻译一下代码是什么意思 越具体越好
({ 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" } })
------解决方案--------------------
老师好 这是我打开https://passport.baidu.com/v2/api/?login时出的问题 做模拟登录使用 求老师翻译一下代码是什么意思 越具体越好
({ 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" } })
------解决方案--------------------
({
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"
} })
相关文章
相关视频