Home > Backend Development > PHP Tutorial > 见见这些返回的数据代表什么

见见这些返回的数据代表什么

WBOY
Release: 2016-06-13 11:56:48
Original
1363 people have browsed it

看看这些返回的数据代表什么

老师好 这是我打开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" } }) 
------解决方案--------------------

({ <br />error_no : "0", <br />param_in : {<br /> param1_name : "username", //用户名<br />param1_value : "", <br />param2_name : "password", //口令<br /> param2_value : "",<br /> param3_name : "safeflg", //安全状态<br /> param3_value : "",<br /> param4_name : "verifycode",//验证码<br /> param4_value : "",<br /> param5_name : "mem_pass", //通行证<br /> param5_value : ""<br /> },<br /> param_out :{<br /> param1_name : "token", //令牌<br /> param1_contex : "5ac175b37bc38173cc230b2f15528a48",<br /> param2_name : "tpl",//第三方物流<br /> param2_contex : "",<br /> param3_name : "time",<br /> param3_contex : "1399678071",<br /> param4_name : "lang",<br /> param4_contex : "",<br /> param5_name : "city", //城市<br /> param5_contex : "",<br /> param6_name : "codestring", //码流<br /> param6_contex : "",<br /> param7_name : "bdShowVcode",<br /> param7_contex : ""<br /> },<br /> jslink: 'https://passport.baidu.com/js/pass_api_login.js?v=20111116',<br /> sourceUrl: "",<br /> index:'',<br /> more_param_in : {<br /> param1_name : "u"<br /> },<br /> more_ext : {<br /> ext1_name : "getpass",<br /> ext1_url : "http://passport.baidu.com/?getpass_index",<br /> ext2_name : "question",<br /> ext2_url : "http://passport.baidu.com/?question"<br /> } }) 
Copy after login

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template