登录
<p><strong>请求URI:</strong></p>
<ul>
<li><code>/sign-in</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST</li>
</ul>
<p><strong>参数:</strong></p>
<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;">passport</td>
<td style="text-align: left;">require</td>
<td style="text-align: left;">string</td>
<td>账号</td>
</tr>
<tr>
<td style="text-align: left;">password</td>
<td style="text-align: left;">require</td>
<td style="text-align: left;">string</td>
<td>密码</td>
</tr>
</tbody>
</table>
<p><strong>返回样例:</strong></p>
<pre><code class="language-json">{
&quot;msg&quot;: &quot;请求成功&quot;,
&quot;data&quot;: {
&quot;info&quot;: {
&quot;id&quot;: 19,
&quot;passport&quot;: &quot;admin&quot;,
&quot;password&quot;: &quot;admin&quot;,
&quot;user_name&quot;: &quot;admin&quot;,
&quot;super_switch&quot;: 1,
&quot;enable_status&quot;: 1,
&quot;create_datetime&quot;: &quot;2025-02-11 11:52:39&quot;,
&quot;update_datetime&quot;: &quot;2025-02-11 11:52:39&quot;
},
&quot;token&quot;: {
&quot;access_token&quot;: &quot;8407508f2cc7fa1edf6e1c3f2ec86d1c&quot;//令牌
}
},
&quot;code&quot;: 0
}</code></pre>