|
|
@@ -181,7 +181,7 @@ class UploadForm extends Model {
|
|
|
// 生成文件名
|
|
|
$fileName = Tool::generateId(false);
|
|
|
// 保存在本地
|
|
|
- LoggerTool::info($this->file);
|
|
|
+ LoggerTool::info([$fileName, $this->file]);
|
|
|
$localPath = '/ng/Volumes/HDD/workshop/old/ar.upload.ming/files/' . $fileName . '.' . $this->file->extension;
|
|
|
if (!$this->file->saveAs($localPath)) {
|
|
|
throw new Exception('Failed');
|