新增上传设置

This commit is contained in:
yanwenwu 2020-02-01 16:55:07 +08:00
parent d0687df4de
commit 50410d640a

View File

@ -55,4 +55,13 @@ return [
'validates' => [
\catcher\validates\Sometimes::class,
],
/**
* 上传设置
*
*/
'upload' => [
'image' => 'filesize:' . 1024 * 5 . '|fileExt:jpg,png,gif,jpeg',
'file' => 'filesize:' . 1024 * 10 . '|fileExt:txt,pdf,xlsx,xls,html'
]
];