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