刷新token
<h5>接口描述</h5>
<ul>
<li>刷新token接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>/api/auth/refresh</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST</li>
</ul>
<h5>请求头部</h5>
<p>|参数名|必选|类型|说明|
|:---- |:---|:----- |----- |
|Authorization |是 |string |JWT token|</p>
<h5>返回参数</h5>
<p>|参数名|必含|类型|说明|
|:---- |:---|:----- |----- |
|access_token |是 |string |访问令牌|
|token_type |是 |string |令牌类型|
|expires_in |是 |string |过期时间|</p>
<h5>返回示例</h5>
<ul>
<li>状态码 200 请求成功</li>
</ul>
<pre><code>{
&quot;access_token&quot;: &quot;eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOi8vYXBpLnRlc3QvYXBpL2F1dGgvcmVmcmVzaCIsImlhdCI6MTcxMTU0NjIwMSwiZXhwIjoxNzExNTQ5ODEzLCJuYmYiOjE3MTE1NDYyMTMsImp0aSI6IlFySEFMT09KZnBVRDdybFEiLCJzdWIiOiIxIiwicHJ2IjoiMjNiZDVjODk0OWY2MDBhZGIzOWU3MDFjNDAwODcyZGI3YTU5NzZmNyJ9.wDX8rwB8DoCRoSVOOwT7Fi10BHUaDETJUHFMgVUcDsE&quot;,
&quot;token_type&quot;: &quot;Bearer&quot;,
&quot;expires_in&quot;: 3600
}</code></pre>
<ul>
<li>
<p>状态码 200 成功</p>
</li>
<li>状态码 401 未经授权</li>
</ul>
<pre><code>{
&quot;message&quot;: &quot;The token has been blacklisted&quot;,
&quot;status_code&quot;: 401,
}</code></pre>