This commit is contained in:
jaguarjack
2020-02-21 22:32:50 +08:00
parent fd1798875f
commit 6b7146486c
2 changed files with 3 additions and 4 deletions

View File

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