同步策略是否开启
<h2>接口名称</h2>
<p>同步策略是否开启</p>
<h2>接口地址</h2>
<p><code>POST htts://mesh.szalive.com/business/api/RDBed/syncPolicyEn</code></p>
<h2>请求参数</h2>
<table>
<thead>
<tr>
<th>参数名</th>
<th>参数类型</th>
<th>是否必填</th>
<th>参数描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>deviceMac</td>
<td>string</td>
<td>是</td>
<td>设备MAC</td>
</tr>
<tr>
<td>policyEn</td>
<td>string</td>
<td>是</td>
<td>是否开启。enable / disable</td>
</tr>
<tr>
<td>policyType</td>
<td>string</td>
<td>是</td>
<td>开启的类别 "onetime" / "onetimeWeek"</td>
</tr>
</tbody>
</table>
<h2>响应参数</h2>
<table>
<thead>
<tr>
<th>参数名</th>
<th>参数类型</th>
<th>参数描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>code</td>
<td>string</td>
<td>返回编号</td>
</tr>
<tr>
<td>msg</td>
<td>string</td>
<td>返回消息</td>
</tr>
</tbody>
</table>
<h2>请求示例</h2>
<pre><code>POST htts://mesh.szalive.com/business/api/syncPolicyEn</code></pre>
<h2>传参示例</h2>
<pre><code>{
&quot;deviceMac&quot;:&quot;123456789&quot;,
&quot;policyEn&quot;:&quot;enable&quot;,
&quot;policyType&quot;:&quot;onetime&quot;
}</code></pre>