获取左侧菜单
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>获取左侧菜单</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://xgkj.hljnyxx.com/dongnongBackend/index.php/Home/Index/getMenu</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> {
&quot;home&quot;: {
&quot;son&quot;: &quot;&quot;,
&quot;show&quot;: true
},
&quot;base_m&quot;: {
&quot;son&quot;: &quot;&quot;,
&quot;show&quot;: true
},
&quot;equipType&quot;: {
&quot;son&quot;: &quot;&quot;,
&quot;show&quot;: true
},
&quot;forecast&quot;: {
&quot;son&quot;: {
&quot;insect&quot;: {
&quot;son&quot;: &quot;&quot;,
&quot;show&quot;: false
},
&quot;sexual&quot;: {
&quot;son&quot;: &quot;&quot;,
&quot;show&quot;: false
},
&quot;insect_lamp&quot;: {
&quot;son&quot;: &quot;&quot;,
&quot;show&quot;: false
},
&quot;weather_station&quot;: {
&quot;son&quot;: &quot;&quot;,
&quot;show&quot;: false
}
},
&quot;show&quot;: false
},
&quot;environmental&quot;: {
&quot;son&quot;: &quot;&quot;,
&quot;show&quot;: true
},
&quot;integration&quot;: {
&quot;son&quot;: {
&quot;water_fertilizer&quot;: {
&quot;son&quot;: &quot;&quot;,
&quot;show&quot;: true
}
},
&quot;show&quot;: true
},
&quot;my_production&quot;: {
&quot;son&quot;: {
&quot;project&quot;: {
&quot;son&quot;: &quot;&quot;,
&quot;show&quot;: true
},
&quot;land&quot;: {
&quot;son&quot;: &quot;&quot;,
&quot;show&quot;: true
}
},
&quot;show&quot;: true
},
&quot;manage&quot;: {
&quot;son&quot;: {
&quot;scientific&quot;: {
&quot;son&quot;: &quot;&quot;,
&quot;show&quot;: true
},
&quot;appointment&quot;: {
&quot;son&quot;: &quot;&quot;,
&quot;show&quot;: true
}
},
&quot;show&quot;: true
}
}</code></pre>
<h5>返回参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">home</td>
<td>首页</td>
</tr>
<tr>
<td style="text-align: left;">base_m</td>
<td>地块管理</td>
</tr>
<tr>
<td style="text-align: left;">equipType</td>
<td>平台管理</td>
</tr>
<tr>
<td style="text-align: left;">forecast</td>
<td>测报系统</td>
</tr>
<tr>
<td style="text-align: left;">insect</td>
<td>虫情测报灯</td>
</tr>
<tr>
<td style="text-align: left;">sexual</td>
<td>性诱测报</td>
</tr>
<tr>
<td style="text-align: left;">insect_lamp</td>
<td>自动杀虫灯</td>
</tr>
<tr>
<td style="text-align: left;">weather_station</td>
<td>气象站</td>
</tr>
<tr>
<td style="text-align: left;">environmental</td>
<td>温室环境监测系统</td>
</tr>
<tr>
<td style="text-align: left;">integration</td>
<td>水肥一体化</td>
</tr>
<tr>
<td style="text-align: left;">water_fertilizer</td>
<td>施肥机控制</td>
</tr>
<tr>
<td style="text-align: left;">my_production</td>
<td>我的产区</td>
</tr>
<tr>
<td style="text-align: left;">project</td>
<td>我的项目</td>
</tr>
<tr>
<td style="text-align: left;">land</td>
<td>我的地块</td>
</tr>
<tr>
<td style="text-align: left;">manage</td>
<td>科研管理系统</td>
</tr>
<tr>
<td style="text-align: left;">scientific</td>
<td>科研预约</td>
</tr>
<tr>
<td style="text-align: left;">appointment</td>
<td>我的预约</td>
</tr>
<tr>
<td style="text-align: left;">plc_control</td>
<td>控制柜</td>
</tr>
<tr>
<td style="text-align: left;">door_locks</td>
<td>门禁控制管理</td>
</tr>
<tr>
<td style="text-align: left;">door_control</td>
<td>门禁控制</td>
</tr>
<tr>
<td style="text-align: left;">eae_list</td>
<td>出入名单</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>无</li>
</ul>