refactor: 修改视频上传大小限制

This commit is contained in:
2025-04-10 10:05:39 +08:00
parent 73726e10c2
commit 08afcd551a

View File

@@ -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());