订单列表
<p><strong>简要描述:</strong> </p>
<ul>
<li>订单列表</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>/Order/GetOrderList</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;">order_state</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>0、全部 1、待支付 2、已支付 4、已取消</td>
</tr>
<tr>
<td style="text-align: left;">page_current</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>当前页 默认1</td>
</tr>
<tr>
<td style="text-align: left;">page_size</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>每页条数 默认10</td>
</tr>
</tbody>
</table>
<p><strong>header:</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;">access_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> {
&quot;code&quot;: 200,
&quot;msg&quot;:&quot;获取成功&quot;,
&quot;description&quot;: &quot;&quot;,
&quot;data&quot;: {
&quot;hasNextPage&quot;: false,
&quot;total&quot;: 2,
&quot;list&quot;: [
{
&quot;id&quot;: &quot;2024121109481677839803&quot;, //订单编号
&quot;order_state&quot;: 1, //订单状态
&quot;state_name&quot;: &quot;已支付&quot;,
&quot;amount&quot;: 200.00,//订单金额
&quot;course&quot;: { //课程相关信息
&quot;id&quot;: &quot;&quot;,
&quot;num&quot;: &quot;&quot;,
&quot;title&quot;: &quot;&quot;,
&quot;course_count&quot;: 1,
&quot;belong&quot;: &quot;老师&quot;,
&quot;course_type&quot;: {
&quot;type&quot;: &quot;&quot;,
&quot;price&quot;: &quot;&quot;,
&quot;deduction_amount&quot;: &quot;&quot;,
&quot;advance_amount&quot;: &quot;&quot;
},
&quot;course&quot;: []
},
&quot;activity&quot;: {//活动相关信息
&quot;id&quot;: 55,
&quot;num&quot;: &quot;H00055&quot;,
&quot;course_count&quot;: 4,
&quot;belong&quot;: &quot;优惠补贴课&quot;,
&quot;course&quot;: [
{
&quot;id&quot;: 45,
&quot;num&quot;: &quot;K00045&quot;,
&quot;title&quot;: &quot;你我一起欢唱&quot;
},
{
&quot;id&quot;: 44,
&quot;num&quot;: &quot;K00044&quot;,
&quot;title&quot;: &quot;学画画带来彩色世界&quot;
},
{
&quot;id&quot;: 16,
&quot;num&quot;: &quot;K00016&quot;,
&quot;title&quot;: &quot;学滑板做追风少年&quot;
},
{
&quot;id&quot;: 12,
&quot;num&quot;: &quot;K00012&quot;,
&quot;title&quot;: &quot;字如其人&quot;
}
]
}
},
{
&quot;id&quot;: &quot;2024121017393017053862&quot;,
&quot;order_state&quot;: 2,
&quot;state_name&quot;: &quot;待支付&quot;,
&quot;amount&quot;: 100.00,
&quot;course&quot;: {
&quot;id&quot;: 43,
&quot;num&quot;: &quot;H00043&quot;,
&quot;title&quot;: &quot;电子信息工程&quot;,
&quot;course_count&quot;: 1,
&quot;belong&quot;: &quot;老师&quot;,
&quot;course_type&quot;: {
&quot;type&quot;: 1,
&quot;price&quot;: 100.00,
&quot;deduction_amount&quot;: &quot;&quot;,
&quot;advance_amount&quot;: &quot;&quot;
}
},
&quot;activity&quot;: {
&quot;id&quot;: &quot;&quot;,
&quot;num&quot;: &quot;&quot;,
&quot;course_count&quot;: 0,
&quot;belong&quot;: &quot;优惠补贴课&quot;
}
}
]
}</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;">code</td>
<td style="text-align: left;">int</td>
<td>200成功 其它失败</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>