东农后台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/getAllEquipmentType</code></li> </ul> <h5>请求方式</h5> <ul> <li>GET <h5>返回示例</h5></li> </ul> <pre><code> {     &amp;quot;code&amp;quot;: 0,     &amp;quot;msg&amp;quot;: &amp;quot;查询成功&amp;quot;,     &amp;quot;data&amp;quot;: [         {             &amp;quot;id&amp;quot;: &amp;quot;1&amp;quot;,             &amp;quot;name&amp;quot;: &amp;quot;田间表型平台&amp;quot;         },         {             &amp;quot;id&amp;quot;: &amp;quot;5&amp;quot;,             &amp;quot;name&amp;quot;: &amp;quot;温室表型平台&amp;quot;         },         {             &amp;quot;id&amp;quot;: &amp;quot;7&amp;quot;,             &amp;quot;name&amp;quot;: &amp;quot;常规仪器设备&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;">id</td> <td>类型ID,用于设备分类查询时候使用</td> </tr> <tr> <td style="text-align: left;">name</td> <td>类型名称,用于菜单下拉时候名称显示</td> </tr> </tbody> </table> <h5>备注</h5> <ul> <li>无</li> </ul>

页面列表

ITEM_HTML