作者 lyh

gx

... ... @@ -68,7 +68,10 @@ class AyrReleaseLogic extends BaseLogic
$arr[] = getImageUrl($v1['path'],$this->user['storage_type'],$this->user['project_location']);
}
}else{
$arr[] = getFileUrl($v,$this->user['storage_type'],$this->user['project_location']);
$fileModel = new File();
$info = $fileModel->read(['path'=>$v]);
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($info, true) . PHP_EOL, FILE_APPEND);
$arr[] = getFileUrl($info['path'],$this->user['storage_type'],$this->user['project_location']);
}
}
return $this->success($arr);
... ...