登陆
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>用户登陆</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code> https://immortal.mynatapp.cc/jinfeng/user/login</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>
<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> {
&quot;flag&quot;:true,
&quot;code&quot;:2000,
&quot;message&quot;:&quot;登陆成功&quot;,
&quot;token&quot;:&quot;awofhdsfbfabfesanifnaefbianfawfnorn293rn2f7n32n94724fn923fn&quot;,
&quot;uid&quot;:&quot;5fwadwufbawidiwafbeshifwas&quot;
}</code></pre>
<h5>返回示例【异常】</h5>
<pre><code> {
&quot;flag&quot;:false,
&quot;code&quot;:3000,
&quot;message&quot;:&quot;密码错误&quot;
}</code></pre>