获取Token
<p><strong>简要描述:</strong> </p>
<ul>
<li>由客户端调用, 获取第三方商城SDK初始化所需的token和appid</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>/apigo/v1/third-exchange/token</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>GET</li>
</ul>
<p><strong>身份验证: </strong></p>
<p><code>是</code></p>
<p><strong>返回示例</strong></p>
<pre><code># 成功
{
&quot;code&quot;: 0,
&quot;message&quot;: &quot;&quot;,
&quot;data&quot;: {
&quot;appid&quot;: &quot;ABC123&quot;,
&quot;token&quot;: &quot;DPVfWDbO02NToh5B3cc%2BJFqwDXikO5E3nVQtNRV4qTQ0woEMv2NPAyq4ehlCQzEEj3PYWiOGyKyj6Wbjoo1F3g%3D%3D&quot;,
&quot;is_production&quot;: true
}
}
# 异常
{
&quot;code&quot;: 422,
&quot;message&quot;:&quot;错误原因&quot;,
&quot;data&quot;:[]
}</code></pre>
<p><strong>备注</strong> </p>
<p>每次登录后, 都应该重新获取token和appid, token有效期24小时.</p>