创建订单
<p><strong>接口说明 </strong></p>
<pre><code>请求接口: /emall/app/order/apply/o2o
请求方式: POST
接口说明: 创建订单</code></pre>
<p><strong>请求参数 </strong></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>必选</th>
<th>长度</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>mallId</td>
<td>是</td>
<td>20</td>
<td>int</td>
<td>商场id</td>
</tr>
<tr>
<td>receiverPhone</td>
<td>否</td>
<td>32</td>
<td>string</td>
<td>联系人手机号</td>
</tr>
<tr>
<td>poiTime</td>
<td>否</td>
<td>32</td>
<td>string</td>
<td>预约时间(2020-05-01 上午)</td>
</tr>
<tr>
<td>couponCode</td>
<td>否</td>
<td>32</td>
<td>string</td>
<td>优惠券编号</td>
</tr>
<tr>
<td>usedCredit</td>
<td>否</td>
<td>11</td>
<td>int</td>
<td>花费积分</td>
</tr>
<tr>
<td>userRemark</td>
<td>否</td>
<td>128</td>
<td>string</td>
<td>用户备注</td>
</tr>
<tr>
<td>productId</td>
<td>是</td>
<td>20</td>
<td>int</td>
<td>商品id</td>
</tr>
</tbody>
</table>
<p><strong>返回参数</strong></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>code</td>
<td>string</td>
<td>状态值</td>
</tr>
<tr>
<td>msg</td>
<td>string</td>
<td>返回消息</td>
</tr>
<tr>
<td>orderNo</td>
<td>string</td>
<td>订单号</td>
</tr>
<tr>
<td>status</td>
<td>int</td>
<td>状态:10待付款;20已付款;30已发货;70已完成;500已取消</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"code": "0000",
"msg": "操作成功!",
"data": {
"orderNo":"12412412412",
"status":10
}
}</code></pre>
<p><strong>接口备注</strong></p>