001数据平台

大数据数据平台


刷新token接口

<h5>简要描述</h5> <ul> <li>刷新token接口</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://xx.com/api/refresh</code></li> </ul> <h5>请求方式</h5> <ul> <li>POST </li> </ul> <h5>请求头</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">参数值</th> <th style="text-align: left;">类型</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">Authorization</td> <td style="text-align: left;">Bearer access_token</td> <td style="text-align: left;">string</td> </tr> </tbody> </table> <h5>参数</h5> <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> </tbody> </table> <h5>返回示例</h5> <pre><code>{     &amp;quot;code&amp;quot;: 200,     &amp;quot;access_token&amp;quot;: &amp;quot;eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9sb2NhbGhvc3RcL2FwaVwvcmVmcmVzaCIsImlhdCI6MTY3OTQ2OTU3NSwiZXhwIjoxNjc5NDczMTkwLCJuYmYiOjE2Nzk0Njk1OTAsImp0aSI6IjhNZTRIdmprbnBKMTc5M2MiLCJzdWIiOjQ2LCJwcnYiOiI4NjY1YWU5Nzc1Y2YyNmY2YjhlNDk2Zjg2ZmE1MzZkNjhkZDcxODE4In0.HdpNdu1hFvnyUGdsj3PfXdgtT5n9jiCm0_Ew1tkjbsQ&amp;quot;,     &amp;quot;token_type&amp;quot;: &amp;quot;Bearer&amp;quot;,     &amp;quot;expires_in&amp;quot;: 3600 }</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;">code</td> <td style="text-align: left;">int</td> <td>状态码</td> </tr> <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>令牌过去时间</td> </tr> </tbody> </table> <h5>备注</h5> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML