向设备发送语音
<h5>请求URL</h5>
<ul>
<li><code>{{url}}/commonApi/maxLink/setVoiceText</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;imei&quot;: &quot;860870050149496&quot;,
&quot;text&quot;: &quot;语音内容&quot;,
&quot;playCount&quot;: 1
}</code></pre>
<h5>请求json字段说明</h5>
<table>
<thead>
<tr>
<th>字段名</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>imei</td>
<td>是</td>
<td>string</td>
<td>设备号</td>
</tr>
<tr>
<td>text</td>
<td>是</td>
<td>string</td>
<td>文本内容100个字以内</td>
</tr>
<tr>
<td>playCount</td>
<td>是</td>
<td>string</td>
<td>播放次数 (1~5)</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>