《你来吧》Java服务器API 文档

《你来吧》APP 的Java 服务器API 文档


查询联系人列表详细信息. 用户列表 关注,粉丝,黑名单3种.

<p><strong>简要描述:</strong> </p> <ul> <li>查询联系人列表详细信息. 列表分为: 关注,粉丝,黑名单3种.</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://api.nilaib.com/user/getContactList.htm</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>POST </li> </ul> <p><strong>参数:</strong> PS基础参数必传</p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> <th>取值说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">userid</td> <td style="text-align: left;">是</td> <td style="text-align: left;">String</td> <td>用户id</td> <td>来自基础参数,由C++ 生成</td> </tr> <tr> <td style="text-align: left;">touserid</td> <td style="text-align: left;">是</td> <td style="text-align: left;">String</td> <td>被查看的用户的id</td> <td>由C++ 生成</td> </tr> <tr> <td style="text-align: left;">listType</td> <td style="text-align: left;">是</td> <td style="text-align: left;">String</td> <td>列表类型</td> <td>关注 focus 粉丝 fans 黑名单 black</td> </tr> <tr> <td style="text-align: left;">pageno</td> <td style="text-align: left;">否</td> <td style="text-align: left;">int</td> <td>分页查询页码</td> <td>默认1(结果集第一页)</td> </tr> <tr> <td style="text-align: left;">pagesize</td> <td style="text-align: left;">否</td> <td style="text-align: left;">int</td> <td>每页展示的数据量</td> <td>默认20</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <p>{ &quot;result&quot;: &quot;1000&quot;, &quot;msg&quot;: &quot;success&quot;, &quot;infoCount&quot;: 2, &quot;info&quot;: [ { &quot;activeTime&quot;: &quot;1天前&quot;, &quot;vipLevel&quot;: 0, &quot;userpic&quot;: &quot;<a href="http://imgtest.nilaib.com/img/d0/photos/0/000/020/295.jpg">http://imgtest.nilaib.com/img/d0/photos/0/000/020/295.jpg</a>&quot;, &quot;charmLevel&quot;: 0, &quot;sex&quot;: 1, &quot;sign&quot;: &quot;我是天才&quot;, &quot;name&quot;: &quot;哈的&quot;, &quot;userid&quot;: 20263 } , { &quot;activeTime&quot;: &quot;2天前&quot;, &quot;vipLevel&quot;: 0, &quot;userpic&quot;: &quot;<a href="http://imgtest.nilaib.com/img/d0/photos/0/000/020/295.jpg">http://imgtest.nilaib.com/img/d0/photos/0/000/020/295.jpg</a>&quot;, &quot;charmLevel&quot;: 0, &quot;sex&quot;: 1, &quot;sign&quot;: &quot;&quot;, &quot;name&quot;: &quot;会计&quot;, &quot;userid&quot;: 20295 }] }</p> <p><strong>返回参数说明</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">result</td> <td style="text-align: left;">String</td> <td>返回类型编号</td> </tr> <tr> <td style="text-align: left;">msg</td> <td style="text-align: left;">String</td> <td>返回说明信息</td> </tr> <tr> <td style="text-align: left;">info</td> <td style="text-align: left;">JSON</td> <td>返回结果</td> </tr> </tbody> </table> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul> <p>欢迎使用ShowDoc!</p>

页面列表

ITEM_HTML