错误代码和公共请求约定(必看)
<p><strong>一. 错误代码:</strong></p>
<table>
<thead>
<tr>
<th>代码</th>
<th>参数描述</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>200</strong></td>
<td>请求成功</td>
</tr>
<tr>
<td><strong>202</strong></td>
<td>服务器接收到请求但实际执行失败</td>
</tr>
<tr>
<td><strong>301</strong></td>
<td>请求参数非法</td>
</tr>
<tr>
<td><strong>403</strong></td>
<td>请求被拒绝,此用户无权访问</td>
</tr>
<tr>
<td><strong>404</strong></td>
<td>AccessToken失效</td>
</tr>
<tr>
<td><strong>500</strong></td>
<td>服务器内部错误</td>
</tr>
</tbody>
</table>
<p><strong>二. 公共请求参数:</strong> </p>
<table>
<thead>
<tr>
<th>公共请求参数</th>
<th>参数描述</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>token</code></td>
<td>通过接口【公共接口】 --> 【获取AccessToken】 返回的token值,除了【获取AccessToken】接口,其他接口均需携带此参数。</br>注意<strong><code>token</code>在请求参数中</strong>,非Header</td>
</tr>
</tbody>
</table>
<p><strong>三. 请求方式:</strong> </p>
<table>
<thead>
<tr>
<th>Header</th>
<th>值内容</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>Content-Type</code></td>
<td>除部分接口特殊标注,否则默认为<code>x-www-form-urlencoded</code></td>
</tr>
</tbody>
</table>