获得当前登录用户的施肥计划和日志
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>施肥计划与日志</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://xgkj.hljnyxx.com/dongnongBackend/index.php//Home/FertilizerApplicator/getPlanAndLog</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>
<tr>
<td style="text-align: left;">greenhouseId</td>
<td style="text-align: left;">是</td>
<td>温室ID</td>
</tr>
<tr>
<td style="text-align: left;">pageNo</td>
<td style="text-align: left;">是</td>
<td>页码</td>
</tr>
<tr>
<td style="text-align: left;">pageSize</td>
<td style="text-align: left;">是</td>
<td>每页显示数量</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
&quot;code&quot;: 0,
&quot;msg&quot;: &quot;查询成功&quot;,
&quot;data&quot;: {
&quot;plan_info&quot;: [
{
&quot;id&quot;: &quot;3&quot;,
&quot;user_id&quot;: &quot;1&quot;,
&quot;mix_time&quot;: {
&quot;1&quot;: 10,
&quot;2&quot;: 10,
&quot;3&quot;: 10,
&quot;4&quot;: 10
},
&quot;is_finish&quot;: &quot;0&quot;,
&quot;start_time&quot;: &quot;2023-03-26 14:00:01&quot;,
&quot;end_time&quot;: &quot;2023-03-26 15:00:01&quot;,
},
{
&quot;id&quot;: &quot;2&quot;,
&quot;user_id&quot;: &quot;1&quot;,
&quot;mix_time&quot;: {
&quot;1&quot;: 10,
&quot;2&quot;: 10,
&quot;3&quot;: 10,
&quot;4&quot;: 10
},
&quot;is_finish&quot;: &quot;0&quot;,
&quot;start_time&quot;: &quot;2023-03-26 13:00:01&quot;,
&quot;end_time&quot;: &quot;2023-03-26 14:00:01&quot;,
}
],
&quot;log_info&quot;: [
{
&quot;id&quot;: &quot;2&quot;,
&quot;user_id&quot;: &quot;1&quot;,
&quot;mix_time&quot;: {
&quot;1&quot;: 10,
&quot;2&quot;: 10,
&quot;3&quot;: 10,
&quot;4&quot;: 10
},
&quot;start_time&quot;: &quot;2023-03-26 13:00:01&quot;,
&quot;end_time&quot;: &quot;2023-03-26 14:00:01&quot;,
&quot;ec&quot;: null,
&quot;ph&quot;: null
},
{
&quot;id&quot;: &quot;3&quot;,
&quot;user_id&quot;: &quot;1&quot;,
&quot;mix_time&quot;: {
&quot;1&quot;: 10,
&quot;2&quot;: 10,
&quot;3&quot;: 10,
&quot;4&quot;: 10
},
&quot;start_time&quot;: &quot;2023-03-26 14:00:01&quot;,
&quot;end_time&quot;: &quot;2023-03-26 15:00:01&quot;,
&quot;ec&quot;: null,
&quot;ph&quot;: null
}
]
},
&quot;count&quot;: &quot;3&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;">plan_info</td>
<td>计划信息</td>
</tr>
<tr>
<td style="text-align: left;">+mix_time</td>
<td>各个桶的搅拌时间</td>
</tr>
<tr>
<td style="text-align: left;">+start_time</td>
<td>计划开始时间</td>
</tr>
<tr>
<td style="text-align: left;">+end_time</td>
<td>计划结束时间</td>
</tr>
<tr>
<td style="text-align: left;">log_info</td>
<td>日志信息</td>
</tr>
<tr>
<td style="text-align: left;">+mix_time</td>
<td>各个桶的搅拌时间</td>
</tr>
<tr>
<td style="text-align: left;">+start_time</td>
<td>日志开始时间</td>
</tr>
<tr>
<td style="text-align: left;">+end_time</td>
<td>日志结束时间</td>
</tr>
<tr>
<td style="text-align: left;">+ec</td>
<td>ec值</td>
</tr>
<tr>
<td style="text-align: left;">+ph</td>
<td>ph值</td>
</tr>
<tr>
<td style="text-align: left;">count</td>
<td>计划的数量</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>count 字段在pageNo = 1 时候返回,其他值不返回</li>
</ul>