第三方接入调用
<h5>请求URL</h5>
<ul>
<li><code>http://xx.com/config/thirdPartySwitchList</code></li>
</ul>
<h5>Headers</h5>
<ul>
<li>token</li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET </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>
<th>说明</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
"error_code": 0,
"msg": "success",
"data": [
{
"id": 117,
"type": 3,
"title": "聊天开关", //标题
"key": "im", //键
"value": "huanxin", //值
"desc": "",
"created_at": "2021-11-20 10:46:48",
"updated_at": "2021-11-20 10:46:48"
},
{
"id": 118,
"type": 3,
"title": "存储开关",
"key": "oss",
"value": "ali",
"desc": "",
"created_at": "2021-11-20 10:46:48",
"updated_at": "2021-11-20 10:46:48"
},
{
"id": 119,
"type": 3,
"title": "视频点播开关",
"key": "video",
"value": "ali",
"desc": "视频点播",
"created_at": "2021-12-07 10:26:29",
"updated_at": "2021-12-07 11:01:45"
},
{
"id": 120,
"type": 3,
"title": "视频直播",
"key": "live",
"value": "tencent",
"desc": "视频直播",
"created_at": "2021-12-07 10:26:29",
"updated_at": "2021-12-07 10:26:29"
}
]
}</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;">error_code</td>
<td style="text-align: left;">int</td>
<td>0成功</td>
</tr>
<tr>
<td style="text-align: left;">msg</td>
<td style="text-align: left;">string</td>
<td>success</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>