刷新认证
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>使用旧的token获取新的token,调用该接口后旧的token将会即时失效</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>https://rxcj.gtgbxy.cn/open/refresh</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </li>
</ul>
<h5>返回示例</h5>
<pre><code>{
&quot;code&quot;: 200,
&quot;msg&quot;: &quot;OK&quot;,
&quot;data&quot;: {
&quot;access_token&quot;: &quot;eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9sb2NhbGhvc3Q6ODAwMFwvb3BlblwvcmVmcmVzaCIsImlhdCI6MTcwNDk3ODAzNiwiZXhwIjoxNzA0OTkzNTk1LCJuYmYiOjE3MDQ5NzkxOTUsImp0aSI6ImdrbHhXbG5GcUQ3TTJFTWsiLCJzdWIiOjEsInBydiI6ImRlMGQ2MzYzZjZhN2Y5MTI1ZmQzMjM3ZGJmMDc3ZjU3Y2MxM2YzODMifQ.9hiB7UbY6gnD2i4PR0Z7Fx-gaS-jOznSWE7XONgbQDI&quot;,
&quot;token_type&quot;: &quot;bearer&quot;,
&quot;expires_in&quot;: 14400
}
}</code></pre>
<h5>返回参数说明</h5>
<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;">access_token</td>
<td style="text-align: left;">string</td>
<td>授权令牌</td>
</tr>
<tr>
<td style="text-align: left;">token_type</td>
<td style="text-align: left;">string</td>
<td>令牌类型</td>
</tr>
<tr>
<td style="text-align: left;">expires_in</td>
<td style="text-align: left;">int</td>
<td>token有效期(秒)</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>无</li>
</ul>