diff --git a/app/api/controller/InformationController.php b/app/api/controller/InformationController.php index b5a63f291..40c3d2e60 100644 --- a/app/api/controller/InformationController.php +++ b/app/api/controller/InformationController.php @@ -87,7 +87,7 @@ class InformationController extends BaseApiController } if(isset($param['task_id'])&& $param['task_id']>0){ $task=Task::where('id',$param['task_id'])->find(); - $extend=json_decode($task['extend'],true); + $extend=$task['extend']; $extend['informationg_demand']=$res['id']; $task->extend=json_encode($extend); $task->save();