获取所有商品接口
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>获取所有商品接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://localhost:3000/front/api/menus/getall</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET</li>
</ul>
<h5>参数</h5>
<p>无</p>
<h5>返回示例</h5>
<pre><code> {
&quot;error_code&quot;: 0,
&quot;msg&quot;: &quot;商品获取成功!&quot;,
&quot;data&quot;: [
{
&quot;_id&quot;: &quot;6409840e96966a97cc8b7d78&quot;,
&quot;name&quot;: &quot;芋头饺子&quot;,
&quot;price&quot;: 13,
&quot;imgpath&quot;: &quot;uploads/1678345553685.png&quot;,
&quot;specifications&quot;: &quot;小份15个¥16.00=====小份16个¥16.00&quot;,
&quot;kind&quot;: &quot;汤饺=====蒸饺&quot;,
&quot;enable&quot;: true,
&quot;catname&quot;: &quot;饺子&quot;
},
{
&quot;_id&quot;: &quot;6409841e96966a97cc8b7d7b&quot;,
&quot;name&quot;: &quot;韭菜饺子&quot;,
&quot;price&quot;: 13,
&quot;imgpath&quot;: &quot;uploads/1678345595640.png&quot;,
&quot;specifications&quot;: &quot;小份15个¥16.00=====大份22个¥30.00&quot;,
&quot;kind&quot;: &quot;干饺=====汤饺&quot;,
&quot;enable&quot;: true,
&quot;catname&quot;: &quot;饺子&quot;
},
...
]
}</code></pre>