新增上传设置
This commit is contained in:
parent
d0687df4de
commit
50410d640a
@ -55,4 +55,13 @@ return [
|
|||||||
'validates' => [
|
'validates' => [
|
||||||
\catcher\validates\Sometimes::class,
|
\catcher\validates\Sometimes::class,
|
||||||
],
|
],
|
||||||
|
/**
|
||||||
|
* 上传设置
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
'upload' => [
|
||||||
|
'image' => 'filesize:' . 1024 * 5 . '|fileExt:jpg,png,gif,jpeg',
|
||||||
|
'file' => 'filesize:' . 1024 * 10 . '|fileExt:txt,pdf,xlsx,xls,html'
|
||||||
|
]
|
||||||
|
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user