车票详情
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>获取车票详情接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li>
<p><code>http://localhost:12345/api/ticket/detail/:id</code></p>
</li>
<li>例如:<a href="http://localhost:12345/api/ticket/detail/3">http://localhost:12345/api/ticket/detail/3</a></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;">string</td>
<td>车票id</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
&quot;code&quot;: 200,
&quot;msg&quot;: &quot;获取详情成功!&quot;,
&quot;data&quot;: {
&quot;id&quot;: 3,
&quot;startTime&quot;: &quot;09:30&quot;,
&quot;endTime&quot;: &quot;15:00&quot;,
&quot;train&quot;: &quot;G333&quot;,
&quot;price&quot;: &quot;¥650&quot;,
&quot;startPosition&quot;: &quot;北京西&quot;,
&quot;endPosition&quot;: &quot;郑州东&quot;,
&quot;secondSeat&quot;: 8,
&quot;firstSeat&quot;: false,
&quot;businessSeat&quot;: 6
}
}</code></pre>