修改标记土地全部成熟接口

This commit is contained in:
weiz 2023-10-31 16:30:06 +08:00
parent 1389e5848a
commit 1641048106
1 changed files with 3 additions and 2 deletions

View File

@ -8,7 +8,7 @@
{ {
public array $notNeedLogin = [ public array $notNeedLogin = [
'landInfo', 'landInfo',
'addLandCrop','addLandCropPic','landCropPicList', 'addLandCrop','landCropAllRipe','addLandCropPic','landCropPicList',
'addLandCropRecord','delLandCropRecord','ediLandCropRecord','landCropRecordInfo','landCropRecordList', 'addLandCropRecord','delLandCropRecord','ediLandCropRecord','landCropRecordInfo','landCropRecordList',
'setLandCropRipe', 'setLandCropRipe',
'landEnvDataChart','landEnvDataCurr', 'landEnvDataChart','landEnvDataCurr',
@ -100,7 +100,8 @@
} }
//标记全部成熟 //标记全部成熟
public function landCropAllRipe() { public function landCropAllRipe(): Json
{
$params = $this->request->post(['crop_id']); $params = $this->request->post(['crop_id']);
if(empty($params['crop_id'])){ if(empty($params['crop_id'])){
return $this->fail('参数错误'); return $this->fail('参数错误');