白名单/通讯录设置
<h5>简要描述</h5>
<ul>
<li>设置成功后会调用,推送接口(whiteListSuccess)里面来返回</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>{{url}}/commonApi/kq/updateWhiteList</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>post</li>
</ul>
<h5>Header</h5>
<table>
<thead>
<tr>
<th>header</th>
<th>示例值</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>authCode</td>
<td>{{authCode}}</td>
<td>是</td>
<td>string</td>
<td>授权码(杰佳通)提供</td>
</tr>
</tbody>
</table>
<h5>请求参数示例</h5>
<pre><code class="language-json">{
&quot;uuid&quot;: &quot;473FDCE5DB32417787569B0A6DCA4880&quot;,
&quot;imei&quot;: &quot;860870050149496&quot;,
&quot;content&quot;: [
{
&quot;name&quot;: &quot;联系人1&quot;,
&quot;phone&quot;: &quot;15123525665&quot;
},
{
&quot;name&quot;: &quot;联系人2&quot;,
&quot;phone&quot;: &quot;15123525665&quot;
}
]
}</code></pre>
<h5>请求json字段说明</h5>
<table>
<thead>
<tr>
<th>字段名</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>uuid</td>
<td>是</td>
<td>string</td>
<td>唯一id 设置成功后返回</td>
</tr>
<tr>
<td>imei</td>
<td>是</td>
<td>string</td>
<td>设备号</td>
</tr>
<tr>
<td>content</td>
<td>是</td>
<td>array</td>
<td>通讯录内容 上限8个</td>
</tr>
<tr>
<td>content.name</td>
<td>是</td>
<td>string</td>
<td>联系人名称</td>
</tr>
<tr>
<td>content.phone</td>
<td>是</td>
<td>string</td>
<td>联系人电话</td>
</tr>
</tbody>
</table>
<h5>成功返回示例</h5>
<pre><code class="language-json">{
&quot;code&quot;: 200,
&quot;msg&quot;: &quot;成功&quot;,
&quot;data&quot;: null,
&quot;isSuccess&quot;: true
}</code></pre>
<h5>失败返回示例</h5>
<pre><code class="language-json">{
&quot;code&quot;: 1009,
&quot;msg&quot;: &quot;设备未在线&quot;,
&quot;data&quot;: null,
&quot;isSuccess&quot;: false
}</code></pre>