订单详情
<p><strong>简要描述:</strong> </p>
<ul>
<li>用户注册接口</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/api/adm/order/{id}</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>GET</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;">id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>订单ID</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
"result": "success",
"data": {
"id": 1343,
"order_number": "1534326553520207",
"commodity_id": 241,
"user_id": 64,
"marketer_id": null,
"price": 2,
"pay_type": "wechat_app",
"pay_status": "success",
"order_at": "2018-08-15 17:49:13",
"created_at": "2018-08-15 17:49:13",
"marketer_rate": null,
"parent_id": null,
"user_coupon_id": null,
"remark": "order",
"expire_at": "2018-09-27 00:00:00",
"pay_at": "2018-08-15 17:53:20",
"nickname": "Adeline_ 🌹",
"marketer_name": "卖火柴的小女孩",
"marketer_bonus": 0.01,
"commodities": [
{
"commodity_id": 241,
"name": "预售"
}
],
"groupon_users": [
{
"id": 3,
"groupon_id": 1,
"user_id": null,
"order_id": null,
"commodity_id": 296,
"status": "success",
"nickname": null,
"avatar": null,
"created_at": null
},
{
"id": 4,
"groupon_id": 1,
"user_id": 64,
"order_id": 1111,
"commodity_id": 296,
"status": "success",
"nickname": "ó",
"avatar": "http://thirdwx.qlogo.cn/mmopen/vi_32/3qUuuVRJ5KhdyfoBVqNvIUl3TkvIrseOU2XTgHwXnTOWD3nkeuCeSwicKHHVAmu6bstJk18eu7LAYho4esRAr7w/132",
"created_at": null
}
],
"child_orders": [
{
"order_number": "1534326553524380",
"price": 0.01,
"pay_status": "success",
"pay_type": "wechat_app",
"remark": "deposit"
},
{
"order_number": "1534326794073741",
"price": 0.01,
"pay_status": "success",
"pay_type": "wechat_app",
"remark": "tail"
}
]
},
"message": "操作成功",
"ct": 1534389824
}</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>