《你来吧》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/prize/queryAwardList.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;">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> <pre><code> "createtime": "2018-10-24 03:54:49.0", // 奖品添加时间 "code": "001001", //奖品编号 "imgpath": "", // 奖品图片 "name": "支付宝提现100元", // 奖品名称 "description": "支付宝提现100元,消耗金币1000000", // 奖品描述 "id": 6, // 奖品id "isnew": 0, // 是否标新 "type": 6, // 奖品类型,6 支付宝提现 "convert_amount": 0, // 已兑奖的数量 "intecount": 1000000 // 消耗的金币</code></pre> <p><strong>返回示例</strong></p> <pre><code>{ "result": "1000", "msg": "success", "infoCount": 4, "info": [{ "createtime": "2018-10-24 03:54:49.0", "code": "001001", "imgpath": "", "name": "支付宝提现100元", "description": "支付宝提现100元,消耗金币1000000", "id": 6, "isnew": 0, "type": 6, "convert_amount": 0, "intecount": 1000000 }, { "createtime": "2018-10-24 03:56:09.0", "code": "001001", "imgpath": "", "name": "支付宝提现200元", "description": "支付宝提现200元,消耗金币2000000", "id": 7, "isnew": 0, "type": 6, "convert_amount": 0, "intecount": 2000000 }, { "createtime": "2018-10-24 03:57:33.0", "code": "001001", "imgpath": "", "name": "支付宝提现500元", "description": "支付宝提现500元,消耗金币5000000", "id": 8, "isnew": 0, "type": 6, "convert_amount": 0, "intecount": 5000000 }, { "createtime": "2018-10-24 04:00:39.0", "code": "001001", "imgpath": "", "name": "支付宝提现1000元", "description": "支付宝提现1000元,消耗金币10000000", "id": 9, "isnew": 0, "type": 6, "convert_amount": 0, "intecount": 10000000 }] }</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