贝迪ERP

贝迪ERP


登录

<h5>简要描述</h5> <ul> <li>用户登录接口</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://localhost:801/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;code&amp;quot;: 1,     &amp;quot;msg&amp;quot;: &amp;quot;登陆成功&amp;quot;,     &amp;quot;result&amp;quot;: {         &amp;quot;uid&amp;quot;: 1,         &amp;quot;username&amp;quot;: &amp;quot;admin&amp;quot;,         &amp;quot;userpwd&amp;quot;: &amp;quot;21232f297a57a5a743894a0e4a801fc3&amp;quot;,         &amp;quot;status&amp;quot;: 1,         &amp;quot;name&amp;quot;: &amp;quot;米辰科技&amp;quot;,         &amp;quot;mobile&amp;quot;: &amp;quot;17701030513&amp;quot;,         &amp;quot;lever&amp;quot;: null,         &amp;quot;roleid&amp;quot;: 0,         &amp;quot;righttype1&amp;quot;: null,         &amp;quot;righttype2&amp;quot;: null,         &amp;quot;righttype8&amp;quot;: null,         &amp;quot;righttype4&amp;quot;: null,         &amp;quot;rightids&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;">username</td> <td style="text-align: left;">string</td> <td>用户名称</td> </tr> </tbody> </table> <h5>备注</h5> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML