用户注销
<p><strong>简要描述:</strong> </p>
<ul>
<li>: 用户注销接口</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>/user/logout</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>post
<strong>返回示例</strong></li>
</ul>
<pre><code>: {"msg":"lougout"} {"msg": 'failed'}</code></pre>
<p><strong>返回参数说明</strong> </p>
<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;">msg</td>
<td style="text-align: left;">string</td>
<td>提示信息</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>前端注销, 清除token, 后端清除数据库token</li>
</ul>