订单详情
<p><strong>简要描述:</strong> </p>
<ul>
<li>订单详情接口</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/api/orders/order/get-order-detail</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;">order_code</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>订单编号</td>
</tr>
<tr>
<td style="text-align: left;">token</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>token</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
"code": 600,
"msg": "获取成功",
"result": {
"order_code": "JK118083115O0000002", // 订单编号
"mail_address": "5",
"order_money": "350.00", // 订单金额
"mail_type": null, // 快递公司
"mail_fee": "0.00", // 邮费
"product_nums": "13", //购买总数量
"order_remark": "", // 买家留言
"place_time": null, // 支付时间
"out_time": null, // 出货时间
"create_time": "2018-08-31 17:05:37", //下单时间
"province": "安徽省",
"city": "巢湖市",
"area": "和县",
"address": "啊萨达大飒飒的强无敌萨达",
"status": "2", // 订单状态 0:未支付 1:已支付 2:取消
"deal_status": "0", // 订单处理状态 0:未处理 1:处理中 2:已出货 3:已收货
"consignee_name": "犹豫", // 收件人
"consignee_tel": "18612341234", // 收件人手机
"mail_address_str": "安徽省巢湖市和县啊萨达大飒飒的强无敌萨达", // 收件地址
"detail": [ // 订单子详情
{
"order_code": "JK118083115O0000002",
"product_code": "JKP00005",
"sub_code": "JK5V00001",
"nums": "3", // 购买数量
"money": "150.00", // 所需金额
"price": "50.00", // 单价
"product_title": "中国结", // 商品标题
"product_sub_title": "千千结 万字结 团锦结 盘长结", // 商品副标题
"art_no": "test123", // 商品编号
"lottery_name": "中国结", // 彩种
"img_url": "http://114.116.51.114/img/productImg/center_1/180822023824_10", // 商品图片
"sub_sku": "", // 商品sku
"sub_value": "5" // 面额
},
{
"order_code": "JK118083115O0000002",
"product_code": "JKP00006",
"sub_code": "JK2V00002",
"nums": "10",
"money": "200.00",
"price": "20.00",
"product_title": "糖葫芦好吃的糖葫芦",
"product_sub_title": "草莓 山楂 苹果 油柑",
"art_no": "11",
"lottery_name": "糖葫芦",
"img_url": "http://114.116.51.114/img/productImg/center_1/180827061605_17",
"sub_sku": "",
"sub_value": "2"
}
]
}
}</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>