获取优惠券列表
<p><strong>简要描述:</strong> </p>
<ul>
<li>获取优惠券列表</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>api/coupon/getUsingCouponList</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;">orderMoney</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>订单价格</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"code": 200,
"msg": "获取成功",
"success": true,
"data": [{
"id": "04bd30930e434816bd9458da74f82a70",
"status": "",
"createTime": 1531100139000,
"updateTime": "",
"sjbh": "20180709093539280115",
"couponId": "",
"userId": "615b98843a0f4a4ab5e530920c8125e2",
"useStatus": "0",
"useTime": "",
"orderId": "f398f745c60142e3bcc07efe872ab8ea",
"byOne": "",
"byTwo": "",
"byThree": "",
"moneyType": "zk",
"useTimeQ": "",
"useTimeZ": "",
"maxMoney": "",
"minMoney": "1",
"couponType": "全场通用",
"timeEnd": "2019-01-25 09:35:39",
"timeStart": "2018-07-09 09:35:39",
"timeq": "2018-07-09 09:35:39",
"timez": "2019-01-25 09:35:39",
"ifUse": "",
"couponMoney": "0.95",
"zkMoney": "",
"integral": "",
"gqysy": "",
"wsywgq": "",
"yhjmc": "签到有礼",
"danValue": "",
"shareOrderId": "",
"textId": ""
},
{
"id": "1ab4e13421574eec8f71597169bf3563",
"status": "",
"createTime": 1530241245000,
"updateTime": "",
"sjbh": "20180629110045265804",
"couponId": "",
"userId": "615b98843a0f4a4ab5e530920c8125e2",
"useStatus": "0",
"useTime": "",
"orderId": "",
"byOne": "",
"byTwo": "",
"byThree": "",
"moneyType": "zk",
"useTimeQ": "",
"useTimeZ": "",
"maxMoney": "",
"minMoney": "1",
"couponType": "全场通用",
"timeEnd": "2019-01-15 11:00:45",
"timeStart": "2018-06-29 11:00:45",
"timeq": "2018-06-29 11:00:45",
"timez": "2019-01-15 11:00:45",
"ifUse": "",
"couponMoney": "0.95",
"zkMoney": "",
"integral": "",
"gqysy": "",
"wsywgq": "",
"yhjmc": "签到有礼",
"danValue": "",
"shareOrderId": "",
"textId": ""
}
]
}</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;">cr(成功时返回)</td>
<td style="text-align: left;">int</td>
<td>couponId:优惠券id;userId:用户id;useStatus:使用状态(0 未使用 1已使用);useTime:使用时间;orderId:订单主键</td>
</tr>
<tr>
<td style="text-align: left;">message(错误时返回)</td>
<td style="text-align: left;">json</td>
<td>error</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>