专业四接口文档

专业四(电商管理)接口文档


获取用户列表

<ul> <li>获取用户列表接口</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://localhost:7001/getUserList</code></li> </ul> <h5>请求方式</h5> <ul> <li>GET</li> </ul> <h5>返回示例</h5> <pre><code> { &amp;quot;code&amp;quot;: 0, &amp;quot;message&amp;quot;: &amp;quot;获取成功&amp;quot;, &amp;quot;data&amp;quot;: { &amp;quot;id&amp;quot;: &amp;quot;1&amp;quot;, &amp;quot;photo&amp;quot;: &amp;quot;https://img0.baidu.com/it/u=1128422789,3129806361&amp;amp;.&amp;quot;, &amp;quot;userName&amp;quot;: &amp;quot;张三&amp;quot;, &amp;quot;section&amp;quot;: &amp;quot;研发部门&amp;quot;, &amp;quot;role&amp;quot;: &amp;quot;测试&amp;quot;, &amp;quot;status&amp;quot;: &amp;quot;1&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;">photo</td> <td style="text-align: left;">string</td> <td>头像</td> </tr> <tr> <td style="text-align: left;">userName</td> <td style="text-align: left;">string</td> <td>用户名</td> </tr> <tr> <td style="text-align: left;">section</td> <td style="text-align: left;">string</td> <td>部门</td> </tr> <tr> <td style="text-align: left;">role</td> <td style="text-align: left;">string</td> <td>角色</td> </tr> <tr> <td style="text-align: left;">status</td> <td style="text-align: left;">string</td> <td>状态</td> </tr> </tbody> </table>

页面列表

ITEM_HTML