取消订单---朱学禹
<p><strong>简要描述:</strong> </p>
<ul>
<li>取消订单</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/order/web/order/orderCancel</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;">orderId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">Integer</td>
<td>订单id</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
"data": {
"result":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;">int</td>
<td>订单取消数</td>
</tr>
<tr>
<td style="text-align: left;">updateCoupon</td>
<td style="text-align: left;">int</td>
<td>优惠券释放条数</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述
PARAM_ERROR(99999, "参数不正确"),
ORDER_IS_EMPTY(2500,"通过该订单id没有找到记录"),
USER_NONE(7005, "找不到此用户"),</li>
</ul>
<p>欢迎使用ShowDoc!</p>