提交订单
<p><strong>简要描述:</strong> </p>
<ul>
<li>提交订单</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>/Order/SubmitOrder</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </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;">data</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>json数据</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>data参数json形式,如下:
单个课程订单提交:{ &quot;course_type_id&quot;:1 }
活动订单提交:{ &quot;activity_id&quot;:55,&quot;activity_course_list&quot;:[{ &quot;ar_id&quot;:45 },{ &quot;ar_id&quot;:46 }]}</code></pre>
<p><strong>返回示例</strong></p>
<pre><code>{
&quot;code&quot;: 200,
&quot;message&quot;: &quot;提交成功&quot;,
&quot;description&quot;: &quot;&quot;,
&quot;data&quot;: {
&quot;order_id&quot;: &quot;2024120102050198878511&quot;,
&quot;amount&quot;: 100.00,
&quot;title&quot;: &quot;寒假课程联合总动员(100元2门=8节课)&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成功 302 其它失败</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>