新增上传文件类型
This commit is contained in:
@@ -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'
|
||||
],
|
||||
];
|
||||
|
Reference in New Issue
Block a user