荣电床垫相关接口


「小程序」总开关

<h2>接口名称</h2> <p>「小程序」总开关</p> <h2>接口地址</h2> <p><code>POST htts://mesh.szalive.com/business/api/RDBed/allCtrl</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>operate</td> <td>string</td> <td>是</td> <td>开关操作 open / close 默认为close</td> </tr> <tr> <td>leftTemp</td> <td>string</td> <td>否</td> <td>左区域温度 26~43</td> </tr> <tr> <td>RightTemp</td> <td>string</td> <td>否</td> <td>右区域温度 26~43</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/bedCtrl</code></pre> <h2>传参示例</h2> <pre><code>{ &amp;quot;deviceMac&amp;quot;:&amp;quot;123456789&amp;quot;, &amp;quot;operate&amp;quot;:&amp;quot;open&amp;quot; }</code></pre>

页面列表

ITEM_HTML