This commit is contained in:
zmj 2024-03-06 18:25:44 +08:00
parent 2083bf58ef
commit 2474758907
1 changed files with 3 additions and 3 deletions

View File

@ -155,9 +155,9 @@ class IndexController extends BaseApiController
if($plantInfo->isEmpty()){
return $this->fail('种植信息错误');
}
if($plantInfo['status'] != 2){
return $this->fail('种植信息状态错误');
}
// if($plantInfo['status'] != 2){
// return $this->fail('种植信息状态错误');
// }
$landInfo = Land::where('id',$plantInfo['land_id'])->findOrEmpty();
if($landInfo->isEmpty()){
return $this->fail('土地信息错误');