查询订单详情
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>查询订单详情接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://127.0.0.1:5050/api/order/detail</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET </li>
</ul>
<h5>参数</h5>
<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;">int</td>
<td>编号</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
code: 1,
msg: '订单查询成功',
data: 0: {
address: null
detailList: Array(5)
0: {
count: 5
detail: "在一个被称作“提瓦特”的幻想世界,玩家将扮演一位名为“旅行者”的神秘角色,在自由的旅行中邂逅性格各异的同伴们,和他们一起击败强敌,找回失散的亲人的同时,逐步发掘“原神”的真相。"
discount: "折扣8折优惠"
nowprice: 180
price: 225
product_id: 1
product_name: "原神"
product_pic: "/images/playgame/原神.jpg"
}
1: {
count: 23
detail: "武魂传承,热血永存! 动画人设入驻游戏、精美剧情原画同步收录,漫游联动,打造视觉娱乐双重体验! 沉浸式的策略卡牌操作玩法,告别无脑站桩,微操走位越级打怪。"
discount: "折扣7.5折优惠"
nowprice: 120
price: 160
product_id: 2
product_name: "斗罗大陆"
product_pic: "/images/playgame/斗罗大陆.jpg"
}
id: 1
order_time: null
phone: null
receiver: null
remark: ""
status: 0
user_id: 4
}
}</code></pre>
<h5>返回参数说明</h5>
<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;">id</td>
<td style="text-align: left;">int</td>
<td>查询的订单编号不能为空</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>