diff --git a/app/oa/controller/Work.php b/app/oa/controller/Work.php index 8a82a6f..6096f22 100644 --- a/app/oa/controller/Work.php +++ b/app/oa/controller/Work.php @@ -150,7 +150,7 @@ class Work extends BaseController ->order('wf.create_time desc') ->where(['wf.wid' => $id]) ->select()->toArray(); - $interfix_ids = array_column($file_array, 'file_id'); + $interfix_ids = array_column($file_array, 'id'); $detail['file_ids'] = implode(",", $interfix_ids); $type = $detail['type']; View::assign('file_array', $file_array);