修改标记土地全部成熟接口
This commit is contained in:
parent
1389e5848a
commit
1641048106
|
@ -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('参数错误');
|
||||||
|
|
Loading…
Reference in New Issue