$hash
$hash : array
文件hash规则
文件上传类
__construct(\think\file\string $path, \think\file\string $originalName, \think\file\string $mimeType = null, \think\file\int $error = null, \think\file\bool $test = false)
| \think\file\string | $path | |
| \think\file\string | $originalName | |
| \think\file\string | $mimeType | |
| \think\file\int | $error | |
| \think\file\bool | $test |
move(string $directory, string|null $name = null) : \think\File
上传文件
| string | $directory | 保存路径 |
| string|null | $name | 保存的文件名 |
getTargetFile(string $directory, null|string $name = null) : \think\File
实例化一个新文件
| string | $directory | |
| null|string | $name |