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

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


主播人气排行榜(收到的金币值排序,降序)

<p><strong>简要描述:</strong> </p> <ul> <li>主播人气排行榜(收到的金币值排序,降序)</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://api.nilaib.com/userrank/popularityRanking.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>由C++ 生成</td> </tr> </tbody> </table> <p><strong>返回示例</strong> index:是List 下标 + 1</p> <pre><code>{ "result": "1000", "msg": "success", "infoCount": 1000, "info": [{ "userpic": "http://imgtest.nilaib.com/img/d0/photos/0/000/011/215_1541061575679.jpg", "nickName": "哇哇", "hostID": "11215", "coin": 47090546, "index": 23 }, { "userpic": "http://imgtest.nilaib.com/img/d0/photos/0/000/011/215_1541061575679.jpg", "nickName": "哇哇", "hostID": "11215", "coin": 47090546 }, { "userpic": "http://imgtest.nilaib.com/img/d0/photos/0/000/011/215_1541061575679.jpg", "nickName": "哇哇", "hostID": "11215", "coin": 47090546 }, { "userpic": "http://imgtest.nilaib.com/img/d0/photos/0/000/010/844_1540435954951.jpg", "nickName": "xzz", "hostID": "10844", "coin": 22165 }], "data": { "userpic": "http://imgtest.nilaib.com/img/d0/photos/0/000/011/215_1541061575679.jpg", "nickName": "哇哇", "hostID": "11215", "coin": 47090546, "index": 23 } } // data 的另一种值 "data": { "index": -1 }</code></pre> <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