接口文档

接口文档


充值金额列表

<h5>简要描述</h5> <ul> <li>rechargeTypeList</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://xx.com/api/rechargeTypeList</code></li> </ul> <h5>请求方式</h5> <ul> <li>GET </li> </ul> <h5>参数</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> </tbody> </table> <h5>返回示例</h5> <pre><code>{ "code": 200, "message": "ok", "data": [ { "type": 1, "price": 10, "gold": 1000, "give": 0, "total": 1000 }, { "type": 2, "price": 20, "gold": 2000, "give": 88, "total": 2088 }, { "type": 3, "price": 50, "gold": 5000, "give": 288, "total": 5288 }, { "type": 4, "price": 100, "gold": 10000, "give": 888, "total": 10888 }, { "type": 5, "price": 200, "gold": 20000, "give": 2688, "total": 22688 }, { "type": 6, "price": 500, "gold": 50000, "give": 6888, "total": 56888 }, { "type": 7, "price": 1000, "gold": 100000, "give": 15888, "total": 115888 }, { "type": 8, "price": 5000, "gold": 500000, "give": 88888, "total": 588888 } ] }</code></pre> <h5>返回参数说明</h5> <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;">groupid</td> <td style="text-align: left;">int</td> <td>用户组id,1:超级管理员;2:普通用户</td> </tr> </tbody> </table> <h5>备注</h5> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul> <p>欢迎使用ShowDoc!</p>

页面列表

ITEM_HTML