订单获取
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>订单获取</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://localhost:8000/front/api/order/getall/:userid</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>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
* &quot;error\_code&quot;: 0,
* &quot;msg&quot;: &quot;获取订单成功!&quot;,
* \-
&quot;data&quot;: \[
* \-
{
* &quot;\_id&quot;: &quot;640f10f61823760ab8b2f976&quot;,
* &quot;orderno&quot;: &quot;1678709324608&quot;,
* &quot;mode&quot;: &quot;yes&quot;,
* &quot;menuname&quot;: &quot;韭菜饺子&quot;,
* &quot;code&quot;: &quot;0001&quot;,
* &quot;totalprice&quot;: &quot;30&quot;,
* &quot;status&quot;: &quot;已付款&quot;,
* &quot;userid&quot;: &quot;640ed8acf3bf4224070323ed&quot;}\]
}</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;">error_code</td>
<td style="text-align: left;">number</td>
<td>错误码,0</td>
</tr>
<tr>
<td style="text-align: left;">msg</td>
<td style="text-align: left;">String</td>
<td>返回值</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>