获取订单列表
<p><strong>简要描述:</strong> </p>
<ul>
<li>获取订单列表接口</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/api/ggc/ggc/get-order-list</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </li>
</ul>
<p><strong>参数:</strong> </p>
<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>
<tr>
<td style="text-align: left;">month</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>筛选月份 2019-07</td>
</tr>
<tr>
<td style="text-align: left;">type</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>筛选状态 1:未兑奖 2:已兑奖 3:拒绝兑奖</td>
</tr>
<tr>
<td style="text-align: left;">pn</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>当前页 传0或不传,默认不分页</td>
</tr>
<tr>
<td style="text-align: left;">size</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>分页默认10条</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
"code": 600,
"msg": "获取成功",
"result": {
"pn": 1, //页码
"pages": 1, //页数
"size": 7,//条数
"total": 7,//总条数
"data": [
{
"order_code": "19073100001", //订单编号
"ggc_code": "35-0512-0002009-030", //刮刮彩编号
"win_money": null,//中奖金额
"status": "1", // 中奖状态 1:未对奖 2:中奖 3:未中奖
"award_status": "1",//对讲状态 1:未派奖 2:已派奖 3:拒绝派奖
"remark": null, // 备注(拒绝派奖理由)
"c_time": "2019-07-31 15:41:30" // 订单上传时间
},
{
"order_code": "19073100002",
"ggc_code": "9118-2586-866",
"win_money": "0.00",
"status": "0",
"award_status": "1",
"remark": null,
"c_time": "2019-07-31 16:36:47"
},
{
"order_code": "19073100003",
"ggc_code": "9118-2586-866",
"win_money": "0.00",
"status": "0",
"award_status": "1",
"remark": null,
"c_time": "2019-07-31 16:36:53"
},
{
"order_code": "19073100004",
"ggc_code": "9118-2586-866",
"win_money": "0.00",
"status": "0",
"award_status": "1",
"remark": null,
"c_time": "2019-07-31 16:37:03"
},
{
"order_code": "19073100005",
"ggc_code": "9118-2586-866",
"win_money": "0.00",
"status": "0",
"award_status": "1",
"remark": null,
"c_time": "2019-07-31 16:39:39"
},
{
"order_code": "19073100006",
"ggc_code": "9118-2586-866",
"win_money": "0.00",
"status": "0",
"award_status": "1",
"remark": null,
"c_time": "2019-07-31 16:40:30"
},
{
"order_code": "19073100007",
"ggc_code": "35-0512-0002009-030",
"win_money": "0.00",
"status": "0",
"award_status": "1",
"remark": null,
"c_time": "2019-07-31 16:51:35"
}
]
}
}</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;">groupid</td>
<td style="text-align: left;">int</td>
<td>用户组id,1:超级管理员;2:普通用户</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!</p>