联系官方销售客服
1835022288
028-61286886
怎么使用:用户登录接口(登录授权码)
您好,我请求登录接口
/index.php?appid=1&appsecret=PHPCMF695551774ADD1&s=member&c=login&is_ajax=1&data[username]=admin&data[password]=admin
返回如下
"code":1,
"msg":"view",
"data":{
"menu":Object{...},
"page_bar":"<div class="page-bar">
<ul class="page-breadcrumb">
<li>
<i class="fa fa-home"></i>
<a href="http://api.qinbao.cn/index.php?s=member">用户中心</a>
<i class="fa fa-angle-right"></i>
</li>
</ul>
</div>",
"mymenu":[
],
"meta_name":"用户登录",
"meta_title":"用户登录_我的网站",
"meta_keywords":null,
"meta_description":null,
"member":[
],
"form":"<input name="is_form" type="hidden" value="1">
<input name="is_admin" type="hidden" value="0">
<input name="is_tips" type="hidden" value="">
<input name="csrf_test_name" type="hidden" value="efe0c5d6cb64099910862e853a2d6503">
<input name="back" id="dr_back" type="hidden" value="">
",
"is_code":null,
"my_web_url":"http://api.qinbao.cn//index.php?appid=1&appsecret=PHPCMF695551774ADD1&s=member&c=login&is_ajax=1&data[username]=superadmin&data[password]=admin",
"get":{
"appid":"1",
"appsecret":"PHPCMF695551774ADD1",
"s":"member",
"c":"login",
"is_ajax":"1",
"data":{
"username":"superadmin",
"password":"admin"
}
}
}
}
与https://www.xunruicms.com/doc/411.html不一致,看不到auth也看不到任何错误信息,请问这个是怎么回事呢?