东农后台api接口文档

接口文档


我的-设备

<p>[TOC]</p> <h5>简要描述</h5> <ul> <li>我的页面中的设备展示信息</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://xgkj.hljnyxx.com/dongnongBackend/index.php//Home/Equipment/getUseEquipmentInfo</code></li> </ul> <h5>请求方式</h5> <ul> <li>GET </li> </ul> <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;">userId</td> <td style="text-align: left;">是</td> <td>用户ID</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code> {     &amp;quot;code&amp;quot;: 0,     &amp;quot;msg&amp;quot;: &amp;quot;请求成功&amp;quot;,     &amp;quot;data&amp;quot;: [         {             &amp;quot;no&amp;quot;: &amp;quot;dn001&amp;quot;,             &amp;quot;name&amp;quot;: &amp;quot;温度传感器&amp;quot;,             &amp;quot;model&amp;quot;: &amp;quot;温型号一&amp;quot;,             &amp;quot;plot_name&amp;quot;: &amp;quot;A-1&amp;quot;         },         {             &amp;quot;no&amp;quot;: &amp;quot;dn002&amp;quot;,             &amp;quot;name&amp;quot;: &amp;quot;湿度传感器&amp;quot;,             &amp;quot;model&amp;quot;: &amp;quot;湿型号二&amp;quot;,             &amp;quot;plot_name&amp;quot;: &amp;quot;A-1&amp;quot;         },         {             &amp;quot;no&amp;quot;: &amp;quot;dn024&amp;quot;,             &amp;quot;name&amp;quot;: &amp;quot;土壤盐分传感器&amp;quot;,             &amp;quot;model&amp;quot;: &amp;quot;土壤盐分型号&amp;quot;,             &amp;quot;plot_name&amp;quot;: &amp;quot;A-1&amp;quot;         }     ] }</code></pre> <h5>返回参数说明</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">no</td> <td>设备编号</td> </tr> <tr> <td style="text-align: left;">name</td> <td>设备名称</td> </tr> <tr> <td style="text-align: left;">model</td> <td>设备型号</td> </tr> <tr> <td style="text-align: left;">plot_name</td> <td>设备工作地块名称</td> </tr> </tbody> </table> <h5>备注</h5> <ul> <li>无</li> </ul>

页面列表

ITEM_HTML