使用方法
----
简单示例
// 返回数组
Upload::putFile('磁盘', '文件字段域', '目录名');
Upload::putFile('public', 'img');
Upload...,
'file write error' => '文件写入失败!',
'upload temp dir not found' => '找不到临时文件夹!'...,
'no file to uploaded' => '没有文件被上传!',
'only the portion of file is uploaded' => '文件只有部分被上传!'...,
'upload File size exceeds the maximum value' => '上传文件大小超过了最大值!'...,
'upload write error' => '文件上传保存错误!',
];
return $data[$msg] ??