Merge branch 'master_oss_wangjianhua' into 'master'
Modify file module to support OSS plug. See merge request easycorp/zentaopms!6367
This commit is contained in:
@@ -1398,9 +1398,7 @@ class testtaskModel extends model
|
||||
$stepFiles = array();
|
||||
foreach($files as $file)
|
||||
{
|
||||
$pathName = $this->file->getRealPathName($file->pathname);
|
||||
$file->webPath = $this->file->webPath . $pathName;
|
||||
$file->realPath = $this->file->savePath . $pathName;
|
||||
$this->file->setFileWebAndRealPaths($file);
|
||||
if($file->objectType == 'caseResult')
|
||||
{
|
||||
$resultFiles[$file->objectID][$file->id] = $file;
|
||||
|
||||
Reference in New Issue
Block a user