登录
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>用户注册接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://ip/webapi/api/Login/GetToken</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </li>
</ul>
<h5>参数</h5>
<pre><code>{
&quot;acctId&quot;: &quot;673c4b8d418478&quot;, //写死
&quot;empNumber&quot;: &quot;谈涛&quot;, //账号
&quot;password&quot;: &quot;123456&quot;, //密码
&quot;appName&quot;: &quot;&quot;
}</code></pre>
<h5>返回示例</h5>
<pre><code>{
&quot;status&quot;: true,
&quot;message&quot;: &quot;登录成功!&quot;,
&quot;data&quot;: {
&quot;token&quot;: &quot;eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJFeHBUaW1lIjoiMjAyNC0xMi0yNlQwMjowODozNy40NDg4OTg0WiIsIkFjY3RJZCI6IjY3M2M0YjhkNDE4NDc4IiwiSWQiOjEzNzAyNCwiU3lzVXNlcklkIjoxMDAwNjgsIk5hbWUiOiLosIjmtpsiLCJFbXBOdW1iZXIiOiLosIjmtpsiLCJQb3N0RGVwdElkIjoxMTQ0MDQsIlBvc3REZXB0Tm8iOiJCTTAwMDAwNiIsIlBvc3REZXB0TmFtZSI6IumHh-i0remDqCIsIlJvbGVzIjpbIuW3peS6uiIsIuW6k-euoSIsIuajgOmqjCIsIuWkluWNjyJdLCJJc0FkbWluIjpmYWxzZX0.YRsUIxs7Qr0q6TPupDpkREaoZggjwsqN5o8twvsgR8A&quot;,
&quot;userInfo&quot;: {
&quot;expTime&quot;: &quot;2024-12-26 02:08:37&quot;,
&quot;acctId&quot;: &quot;673c4b8d418478&quot;,
&quot;id&quot;: 137024,
&quot;sysUserId&quot;: 100068,
&quot;name&quot;: &quot;谈涛&quot;,
&quot;empNumber&quot;: &quot;谈涛&quot;,
&quot;postDeptId&quot;: 114404,
&quot;postDeptNo&quot;: &quot;BM000006&quot;,
&quot;postDeptName&quot;: &quot;采购部&quot;,
&quot;roles&quot;: [
&quot;工人&quot;,
&quot;库管&quot;,
&quot;检验&quot;,
&quot;外协&quot;
],
&quot;isAdmin&quot;: false
}
}
}</code></pre>