获取施肥机菜单栏内容
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>左侧菜单显示内容</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://xgkj.hljnyxx.com/dongnongBackend/index.php//Home/FertilizerApplicator/getGreenhouseList</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;code&quot;: 0,
&quot;msg&quot;: &quot;查询成功&quot;,
&quot;data&quot;: [
{
&quot;id&quot;: &quot;1&quot;,
&quot;name&quot;: &quot;温室A&quot;,
&quot;main_valve&quot;: [
&quot;14&quot;
],
&quot;sub_valve&quot;: [
&quot;3&quot;,
&quot;4&quot;,
&quot;5&quot;,
&quot;6&quot;,
&quot;7&quot;,
&quot;8&quot;,
&quot;9&quot;,
&quot;10&quot;,
&quot;11&quot;,
&quot;12&quot;,
&quot;13&quot;
],
&quot;sub_total_valve&quot;: [
&quot;3&quot;,
&quot;4&quot;,
&quot;5&quot;,
&quot;6&quot;,
&quot;7&quot;,
&quot;8&quot;,
&quot;9&quot;,
&quot;10&quot;,
&quot;11&quot;,
&quot;12&quot;,
&quot;13&quot;
],
},
{
&quot;id&quot;: &quot;2&quot;,
&quot;name&quot;: &quot;温室B&quot;,
&quot;main_valve&quot;: [
&quot;14&quot;,
&quot;15&quot;
],
&quot;sub_valve&quot;: [
&quot;16&quot;,
&quot;17&quot;,
&quot;18&quot;,
&quot;19&quot;,
&quot;20&quot;,
&quot;21&quot;,
&quot;22&quot;,
&quot;23&quot;,
&quot;24&quot;,
&quot;25&quot;,
&quot;26&quot;
],
&quot;sub_total_valve&quot;: [
&quot;16&quot;,
&quot;17&quot;,
&quot;18&quot;,
&quot;19&quot;,
&quot;20&quot;,
&quot;21&quot;,
&quot;22&quot;,
&quot;23&quot;,
&quot;24&quot;,
&quot;25&quot;,
&quot;26&quot;
],
},
{
&quot;id&quot;: &quot;3&quot;,
&quot;name&quot;: &quot;温室C&quot;,
&quot;main_valve&quot;: [
&quot;14&quot;,
&quot;27&quot;
],
&quot;sub_valve&quot;: [
&quot;28&quot;,
&quot;29&quot;,
&quot;30&quot;,
&quot;31&quot;,
&quot;32&quot;,
&quot;33&quot;,
&quot;34&quot;,
&quot;35&quot;,
&quot;36&quot;,
&quot;37&quot;,
&quot;38&quot;
],
&quot;sub_total_valve&quot;: [
&quot;28&quot;,
&quot;29&quot;,
&quot;30&quot;,
&quot;31&quot;,
&quot;32&quot;,
&quot;33&quot;,
&quot;34&quot;,
&quot;35&quot;,
&quot;36&quot;,
&quot;37&quot;,
&quot;38&quot;
],
},
{
&quot;id&quot;: &quot;4&quot;,
&quot;name&quot;: &quot;温室D&quot;,
&quot;main_valve&quot;: [
&quot;14&quot;,
&quot;39&quot;
],
&quot;sub_valve&quot;: [
&quot;1&quot;,
&quot;2&quot;,
&quot;40&quot;,
&quot;41&quot;,
&quot;42&quot;,
&quot;43&quot;,
&quot;44&quot;,
&quot;45&quot;,
&quot;46&quot;,
&quot;47&quot;,
&quot;48&quot;
],
&quot;sub_total_valve&quot;: [
&quot;1&quot;,
&quot;2&quot;,
&quot;40&quot;,
&quot;41&quot;,
&quot;42&quot;,
&quot;43&quot;,
&quot;44&quot;,
&quot;45&quot;,
&quot;46&quot;,
&quot;47&quot;,
&quot;48&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>
<tr>
<td style="text-align: left;">main_valve</td>
<td>主阀门 ,后续传参用</td>
</tr>
<tr>
<td style="text-align: left;">sub_valve</td>
<td>阀门列表 ,用于显示用与后续传参用</td>
</tr>
<tr>
<td style="text-align: left;">sub_total_valve</td>
<td>总阀门列表 ,用于后续传参用</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>用于此部分内容显示
<img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=ecbb6dc69a556d6fe854e1df17cc33c5&amp;file=file.png" alt="" /></li>
</ul>