根据订单号 获取详情
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>获取订单列表</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://api.9lele.com/public/index.php/api/order/getSN</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;">SN</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>订单号</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
&quot;code&quot;: 1,
&quot;msg&quot;: &quot;成功&quot;,
&quot;time&quot;: &quot;1715129885&quot;,
&quot;data&quot;: {
&quot;list&quot;: [
{
&quot;id&quot;: 6,
&quot;SN&quot;: &quot;17150650021402&quot;,
&quot;amount&quot;: &quot;40.00&quot;,
&quot;paytype&quot;: null,
&quot;paystatus&quot;: 1,
&quot;payinfo&quot;: null,
&quot;status&quot;: 1,
&quot;createtime&quot;: &quot;1715065002&quot;,
&quot;usetime&quot;: &quot;&quot;,
&quot;closetime&quot;: &quot;1715065902&quot;,
&quot;warring&quot;: &quot;&quot;,
&quot;ticketcode&quot;: &quot;&quot;,
&quot;ticketstatus&quot;: 1,
&quot;ticketdetail&quot;: null,
&quot;tid&quot;: 64,
&quot;isdel&quot;: 1,
&quot;username&quot;: &quot;张三&quot;,
&quot;tel&quot;: &quot;18670054063&quot;,
&quot;idcard&quot;: &quot;123456789098765432&quot;,
&quot;gotime&quot;: &quot;2024-05-07&quot;,
&quot;gotimer&quot;: &quot;12345678900&quot;,
&quot;mid&quot;: 54,
&quot;userList&quot;: [
{
&quot;id&quot;: 1,
&quot;oid&quot;: 6,
&quot;mid&quot;: 54,
&quot;gid&quot;: 39,
&quot;gname&quot;: null,
&quot;price&quot;: &quot;20.00&quot;,
&quot;username&quot;: &quot;张三&quot;,
&quot;idcard&quot;: &quot;18670054063&quot;,
&quot;tel&quot;: null,
&quot;ticketcode&quot;: &quot;17150650023038&quot;,
&quot;ticketdetail&quot;: null,
&quot;ticketstatus&quot;: null,
&quot;skuid&quot;: 8
},
{
&quot;id&quot;: 2,
&quot;oid&quot;: 6,
&quot;mid&quot;: 54,
&quot;gid&quot;: 39,
&quot;gname&quot;: null,
&quot;price&quot;: &quot;20.00&quot;,
&quot;username&quot;: &quot;李四&quot;,
&quot;idcard&quot;: &quot;18670054063&quot;,
&quot;tel&quot;: null,
&quot;ticketcode&quot;: &quot;17150650025670&quot;,
&quot;ticketdetail&quot;: null,
&quot;ticketstatus&quot;: null,
&quot;skuid&quot;: 8
}
]
},
{
&quot;id&quot;: 7,
&quot;SN&quot;: &quot;17150684968284&quot;,
&quot;amount&quot;: &quot;40.00&quot;,
&quot;paytype&quot;: null,
&quot;paystatus&quot;: 1,
&quot;payinfo&quot;: null,
&quot;status&quot;: 1,
&quot;createtime&quot;: &quot;1715068496&quot;,
&quot;usetime&quot;: &quot;&quot;,
&quot;closetime&quot;: &quot;1715069396&quot;,
&quot;warring&quot;: &quot;&quot;,
&quot;ticketcode&quot;: &quot;&quot;,
&quot;ticketstatus&quot;: 1,
&quot;ticketdetail&quot;: null,
&quot;tid&quot;: 64,
&quot;isdel&quot;: 1,
&quot;username&quot;: &quot;张三&quot;,
&quot;tel&quot;: &quot;18670054063&quot;,
&quot;idcard&quot;: &quot;123456789098765432&quot;,
&quot;gotime&quot;: &quot;2024-05-07&quot;,
&quot;gotimer&quot;: &quot;12345678900&quot;,
&quot;mid&quot;: 54,
&quot;userList&quot;: [
{
&quot;id&quot;: 3,
&quot;oid&quot;: 7,
&quot;mid&quot;: 54,
&quot;gid&quot;: 39,
&quot;gname&quot;: null,
&quot;price&quot;: &quot;20.00&quot;,
&quot;username&quot;: &quot;张三&quot;,
&quot;idcard&quot;: &quot;18670054063&quot;,
&quot;tel&quot;: null,
&quot;ticketcode&quot;: &quot;17150684969778&quot;,
&quot;ticketdetail&quot;: null,
&quot;ticketstatus&quot;: null,
&quot;skuid&quot;: 8
},
{
&quot;id&quot;: 4,
&quot;oid&quot;: 7,
&quot;mid&quot;: 54,
&quot;gid&quot;: 39,
&quot;gname&quot;: null,
&quot;price&quot;: &quot;20.00&quot;,
&quot;username&quot;: &quot;李四&quot;,
&quot;idcard&quot;: &quot;18670054063&quot;,
&quot;tel&quot;: null,
&quot;ticketcode&quot;: &quot;17150684964602&quot;,
&quot;ticketdetail&quot;: null,
&quot;ticketstatus&quot;: null,
&quot;skuid&quot;: 8
}
]
}
],
&quot;count&quot;: 2
}
}</code></pre>
<h5>返回参数说明</h5>
<p><code>id</code> int(11) NOT NULL AUTO_INCREMENT,
<code>SN</code> varchar(255) DEFAULT NULL COMMENT '订单号',
<code>amount</code> decimal(10,2) DEFAULT NULL COMMENT '订单金额',
<code>paytype</code> varchar(255) DEFAULT NULL COMMENT '支付方式',
<code>paystatus</code> int(11) DEFAULT NULL COMMENT '支付状态 1未支付 2 已支付 3.已退款',
<code>payinfo</code> varchar(255) DEFAULT NULL COMMENT '支付备注',
<code>status</code> int(11) DEFAULT NULL COMMENT '订单状态 1.未支付 2.未使用 3.已使用 4.已退款 5 已作废',
<code>createtime</code> varchar(20) DEFAULT NULL COMMENT '创建时间',
<code>usetime</code> varchar(20) DEFAULT NULL COMMENT '使用时间',
<code>closetime</code> varchar(20) DEFAULT NULL COMMENT '失效时间',
<code>warring</code> varchar(255) DEFAULT NULL COMMENT '警告',
<code>ticketcode</code> varchar(255) DEFAULT NULL COMMENT '票务 编码',
<code>ticketstatus</code> tinyint(255) DEFAULT '1' COMMENT '1.未生成 2.已生成 3.已使用',
<code>ticketdetail</code> varchar(255) DEFAULT NULL COMMENT '二维码携带数参数',
<code>tid</code> tinyint(255) DEFAULT NULL COMMENT '类型id',
<code>isdel</code> tinyint(255) DEFAULT '1' COMMENT '1未删除 2已删除',
<code>username</code> varchar(255) DEFAULT NULL COMMENT '联系人姓名',
<code>tel</code> varchar(255) DEFAULT NULL COMMENT '联系人电话',
<code>idcard</code> varchar(255) DEFAULT NULL COMMENT '联系人身份证号',
<code>gotime</code> varchar(255) DEFAULT NULL COMMENT '游玩日期 05月09日',
<code>gotimer</code> varchar(255) DEFAULT NULL COMMENT '游玩日期时间戳',</p>
<h6>userList</h6>
<p><code>id</code> int(11) NOT NULL AUTO_INCREMENT,
<code>oid</code> int(11) DEFAULT NULL COMMENT '订单id',
<code>mid</code> int(11) DEFAULT NULL COMMENT '用户id',
<code>gid</code> int(11) DEFAULT NULL COMMENT '商品id',
<code>gname</code> varchar(255) DEFAULT NULL COMMENT '商品名称',
<code>price</code> decimal(10,2) DEFAULT NULL COMMENT '商品价格',
<code>username</code> varchar(255) DEFAULT NULL COMMENT '真实姓名',
<code>idcard</code> varchar(255) DEFAULT NULL COMMENT '身份证号',
<code>tel</code> varchar(255) DEFAULT NULL COMMENT '电话',
<code>ticketcode</code> varchar(255) DEFAULT NULL COMMENT '票编码',
<code>ticketdetail</code> varchar(255) DEFAULT NULL COMMENT '票携带信息',
<code>ticketstatus</code> tinyint(255) DEFAULT NULL COMMENT '是否使用 1 使用 2 未使用',
<code>skuid</code> int(11) DEFAULT NULL COMMENT '规格id',</p>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>