diff --git a/app/api/controller/InformationController.php b/app/api/controller/InformationController.php index d1d7d9876..6de881782 100644 --- a/app/api/controller/InformationController.php +++ b/app/api/controller/InformationController.php @@ -85,7 +85,7 @@ class InformationController extends BaseApiController if ($res != true) { return $this->fail( BaseLogic::getError()); } - if(isset($param['task_id'])&& isset($param['id'])>0){ + if(isset($param['task_id'])&& isset($param['task_id'])>0){ $task=Task::where('id',$param['task_id'])->find(); $extend=json_decode($task['extend'],true); $extend['informationg_demand']=$res['id'];