批量编辑第三方配置
<h5>请求URL</h5>
<ul>
<li><code>http://xx.com/config/editManyThirdParty</code></li>
</ul>
<h5>Headers</h5>
<ul>
<li>token</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>
<th>说明</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<h5>请求示例</h5>
<p>{
"data": [
{
"key": "chat", //键
"cate": "im", //类别
"title": "聊天", //标题
"status": 0, //状态:1开启 0关闭
"configs": { //详细配置信息
"grant_type": "client_credentials",
"client_id": "YXA6qGtRVuuJTQ6ScSBAHo3gWQ",
"client_secret": "YXA6ze4VzA1tBDiFKGaNkIc3Dtwto3o",
"url": "<a href="https://a1.easemob.com/1119211116099608/tangfen/">https://a1.easemob.com/1119211116099608/tangfen/</a>",
"org_name": "1119211116099608",
"app_name": "tangfen"
}
},
{
"key": "chat2",
"cate": "im",
"title": "聊天2",
"status": 0,
"configs": {
"url": "<a href="https://www.baidu.com">https://www.baidu.com</a>",
"org_name": "996655",
"app_name": "hello world"
}
}
]
}</p>
<h5>返回示例</h5>
<pre><code>{
"error_code": 0,
"msg": "success",
"data": []
}</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>