ordermeal

移动端点餐系统


菜品列表

<p>[TOC]</p> <h5>简要描述</h5> <ul> <li>菜品</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://localhost:8000/front/api/menu/getall</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> { * &amp;quot;error\_code&amp;quot;: 0, * &amp;quot;msg&amp;quot;: &amp;quot;产品获取成功!&amp;quot;, * \- &amp;quot;data&amp;quot;: \[ * \- { * &amp;quot;\_id&amp;quot;: &amp;quot;6409840e96966a97cc8b7d78&amp;quot;, * &amp;quot;name&amp;quot;: &amp;quot;芋头饺子&amp;quot;, * &amp;quot;price&amp;quot;: 13, * &amp;quot;imgpath&amp;quot;: &amp;quot;uploads/1678345553685.png&amp;quot;, * &amp;quot;specifications&amp;quot;: &amp;quot;小份15个¥16.00=====小份16个¥16.00&amp;quot;, * &amp;quot;kind&amp;quot;: &amp;quot;汤饺=====蒸饺&amp;quot;, * &amp;quot;enable&amp;quot;: true, * &amp;quot;catname&amp;quot;: &amp;quot;饺子&amp;quot;}, * \- { * &amp;quot;\_id&amp;quot;: &amp;quot;6409841e96966a97cc8b7d7b&amp;quot;, * &amp;quot;name&amp;quot;: &amp;quot;韭菜饺子&amp;quot;, * &amp;quot;price&amp;quot;: 13, * &amp;quot;imgpath&amp;quot;: &amp;quot;uploads/1678345595640.png&amp;quot;, * &amp;quot;specifications&amp;quot;: &amp;quot;小份15个¥16.00=====大份22个¥30.00&amp;quot;, * &amp;quot;kind&amp;quot;: &amp;quot;干饺=====汤饺&amp;quot;, * &amp;quot;enable&amp;quot;: true, * &amp;quot;catname&amp;quot;: &amp;quot;饺子&amp;quot;}, * \- { * &amp;quot;\_id&amp;quot;: &amp;quot;6409842e96966a97cc8b7d7e&amp;quot;, * &amp;quot;name&amp;quot;: &amp;quot;香菜饺子&amp;quot;, * &amp;quot;price&amp;quot;: 14, * &amp;quot;imgpath&amp;quot;: &amp;quot;uploads/1678345703511.png&amp;quot;, * &amp;quot;specifications&amp;quot;: &amp;quot;小份15个¥16.00=====中份13个¥25.00&amp;quot;, * &amp;quot;kind&amp;quot;: &amp;quot;干饺=====煎饺&amp;quot;, * &amp;quot;enable&amp;quot;: true, * &amp;quot;catname&amp;quot;: &amp;quot;饺子&amp;quot;}, * \- { * &amp;quot;\_id&amp;quot;: &amp;quot;6409844296966a97cc8b7d81&amp;quot;, * &amp;quot;name&amp;quot;: &amp;quot;榴莲饺子&amp;quot;, * &amp;quot;price&amp;quot;: 50, * &amp;quot;imgpath&amp;quot;: &amp;quot;uploads/1678345780662.png&amp;quot;, * &amp;quot;specifications&amp;quot;: &amp;quot;小份15个¥16.00=====大份22个¥30.00&amp;quot;, * &amp;quot;kind&amp;quot;: &amp;quot;干饺=====蒸饺&amp;quot;, * &amp;quot;enable&amp;quot;: true, * &amp;quot;catname&amp;quot;: &amp;quot;饺子&amp;quot;}, * \- { * &amp;quot;\_id&amp;quot;: &amp;quot;6409846296966a97cc8b7d84&amp;quot;, * &amp;quot;name&amp;quot;: &amp;quot;鱼子酱饺子&amp;quot;, * &amp;quot;price&amp;quot;: 100, * &amp;quot;imgpath&amp;quot;: &amp;quot;uploads/1678345807118.png&amp;quot;, * &amp;quot;specifications&amp;quot;: &amp;quot;大份22个¥30.00=====中份13个¥25.00&amp;quot;, * &amp;quot;kind&amp;quot;: &amp;quot;干饺=====煎饺=====蒸饺&amp;quot;, * &amp;quot;enable&amp;quot;: true, * &amp;quot;catname&amp;quot;: &amp;quot;饺子&amp;quot;}, * \- { * &amp;quot;\_id&amp;quot;: &amp;quot;640984b896966a97cc8b7d87&amp;quot;, * &amp;quot;name&amp;quot;: &amp;quot;松露饺子&amp;quot;, * &amp;quot;price&amp;quot;: 999, * &amp;quot;imgpath&amp;quot;: &amp;quot;uploads/1678346222594.png&amp;quot;, * &amp;quot;specifications&amp;quot;: &amp;quot;大份22个¥30.00&amp;quot;, * &amp;quot;kind&amp;quot;: &amp;quot;干饺&amp;quot;, * &amp;quot;enable&amp;quot;: true, * &amp;quot;catname&amp;quot;: &amp;quot;饺子&amp;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> <tr> <td style="text-align: left;">data</td> <td style="text-align: left;">string</td> <td>查询菜品数据</td> </tr> </tbody> </table> <h5>备注</h5> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML