diff --git a/application/project/controller/File.php b/application/project/controller/File.php index f98ce49..a689c28 100755 --- a/application/project/controller/File.php +++ b/application/project/controller/File.php @@ -153,6 +153,7 @@ class File extends BasicApi $project = \app\common\Model\Project::where(['code' => $data['projectCode']])->find(); $result['projectName'] = $project['name']; + $result['code'] = $fileResult['code']; $this->success('', $result); }