【项目管理系统】①


1-菜单列表接口(功能列表)

<h5>简要描述</h5> <pre><code> - 功能 菜单列表接口(功能列表) 目前应用在提供给工作台首页功能列表模块 - 权限标签 xx - 新建 by zj 2022-04-28 11:50:31 星期四 目前用于小程序首页的接口,type 传1 就行,功能上,需要前端做好一个对应的字典表值,将拥有权限的对应应用展示出来</code></pre> <h5>请求URL</h5> <ul> <li><code>{URL}/ent/menu/list</code></li> </ul> <h5>请求方式</h5> <ul> <li>POST</li> </ul> <h5>请求参数</h5> <pre><code> { &amp;quot;type&amp;quot;:2 }</code></pre> <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> <tr> <td style="text-align: left;">type</td> <td style="text-align: left;">是</td> <td style="text-align: left;">num</td> <td>类型 0:目录 1:菜单 2:按钮</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code> { &amp;quot;code&amp;quot;: 0, &amp;quot;data&amp;quot;: [ { &amp;quot;menuId&amp;quot;: 1, &amp;quot;parentId&amp;quot;: 2, &amp;quot;name&amp;quot;: &amp;quot;名称&amp;quot;, &amp;quot;url&amp;quot;: &amp;quot;/ent/menu&amp;quot;, &amp;quot;perms&amp;quot;: &amp;quot;ent:io:xx&amp;quot;, &amp;quot;type&amp;quot;: 2, &amp;quot;orderNum&amp;quot;: 1, }, { &amp;quot;menuId&amp;quot;: 1, &amp;quot;parentId&amp;quot;: 2, &amp;quot;name&amp;quot;: &amp;quot;名称&amp;quot;, &amp;quot;url&amp;quot;: &amp;quot;/ent/menu&amp;quot;, &amp;quot;perms&amp;quot;: &amp;quot;ent:io:xx&amp;quot;, &amp;quot;type&amp;quot;: 2, &amp;quot;orderNum&amp;quot;: 1, } ], &amp;quot;message&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;">code</td> <td style="text-align: left;">int</td> <td>返回结果 0 成功 500 异常</td> </tr> <tr> <td style="text-align: left;">message</td> <td style="text-align: left;">int</td> <td>返回信息</td> </tr> <tr> <td style="text-align: left;">data</td> <td style="text-align: left;">object</td> <td>返回结果</td> </tr> </tbody> </table>

页面列表

ITEM_HTML