新增上传文件类型

This commit is contained in:
JaguarJack 2020-06-30 07:17:13 +08:00
parent 57d26f8003
commit b9f055e052

View File

@ -63,6 +63,6 @@ return [
*/
'upload' => [
'image' => 'fileSize:' . 1024 * 1024 * 5 . '|fileExt:jpg,png,gif,jpeg',
'file' => 'fileSize:' . 1024 * 1024 * 10 . '|fileExt:txt,pdf,xlsx,xls,html'
'file' => 'fileSize:' . 1024 * 1024 * 10 . '|fileExt:txt,pdf,xlsx,xls,html,mp4,mp3,amr'
],
];