项目管理

项目管理


登录接口

<p>[TOC]</p> <h5>简要描述</h5> <ul> <li>用户登录接口</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://xx.com/login</code></li> </ul> <h5>请求方式</h5> <ul> <li>POST </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> <tr> <td style="text-align: left;">username</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>用户名</td> </tr> <tr> <td style="text-align: left;">password</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>密码</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code>{     &amp;quot;message&amp;quot;: &amp;quot;登录成功&amp;quot;,     &amp;quot;user_info&amp;quot;: {         &amp;quot;createTime&amp;quot;: &amp;quot;2024-01-18 14:24:37&amp;quot;,         &amp;quot;id&amp;quot;: 1,         &amp;quot;roleName&amp;quot;: &amp;quot;超级管理员&amp;quot;,         &amp;quot;updateTime&amp;quot;: &amp;quot;2024-01-18 14:24:40&amp;quot;,         &amp;quot;username&amp;quot;: &amp;quot;admin&amp;quot;     } }</code></pre> <h5>备注</h5> <ul> <li>更多返回错误代码请看首页的错误代码描述 200 登录成功 401 登录失败</li> </ul>

页面列表

ITEM_HTML