refactor: 修改视频上传大小限制
This commit is contained in:
@@ -96,7 +96,7 @@ class Upload
|
||||
try {
|
||||
$validate = validate([
|
||||
'module' => 'require|max:64',
|
||||
'video' => 'fileSize:52428800|fileExt:mp4'
|
||||
'video' => 'fileSize:157286400|fileExt:mp4'
|
||||
]);
|
||||
if (!$validate->check(['module' => $param['module'], 'video' => $file])) {
|
||||
return error($validate->getError());
|
||||
|
||||
Reference in New Issue
Block a user